What are use cases? Definition and examples (2024)

Important questions for formulation

To write a use case properly, you can use specific questions to create the process as effective as possible in order to reach the desired goal.

The following 10 questions help you to create use cases

  • Which participants use the system and what are their goals?
  • How complex are the requirements with which the participants have to deal?
  • Which goal must be achieved?
  • How often is the use case performed?
  • What are the requirements the use case has to fulfill?
  • What are the requirements for a successful execution?
  • Which scenarios are possible and what do alternative scenarios look like?
  • What are the possible mistakes of every step of the application case?
  • What are the different steps a participant has to go through?
  • What are the reactions of a system to the interactions of a participant?

What are the advantages of use cases?

First of all, use cases provide clarity. The interaction between participant and system ensures that the system behavior is communicated understandable for users and that the requirements of a system with relations are clear. Use cases are easy to create and understandable for all involved participants. That provides businesses with more flexibility in defining system goals and the following execution.

The good overview also grants insights into details, for example information about a use case or a system. These insights give participants a better orientation through which the requirements are better defined.

The interaction between specification and diagram also allows a transparent mediation of details, which, thanks to visualization, are easy to understand.

Are there also disadvantages?

Depending on the prerequisites and requirements, there are also disadvantages with use cases. The focus of use cases is on the main functionality, therefore details are neglected and unexpected scenarios remain overlooked.

Another disadvantage is the complex, partly statistical nature of use cases. The number of use cases and their interactions increase rapidly, making management difficult. It is further complicated by the fact that use cases do not capture all changes.

Use cases in practice

Relations, systems, participants – at first glance, use cases sound very theoretical. Asking for a more practical approach is therefore quite justified here. Principally, use cases always have a practical component because the objective provides for testing functions within a system. Application examples range from using a coffee machine up to software testing, which is why systematic functions fulfill all the requirements for a use case. Your take-away for the practical use is: Use cases always pursue a specific goal which tests the relation between system and participant. As soon as the requirements, so participant and system, are given, a use case is possible.

Use Case examples

To give you better insights into the practical side of use cases, we will take a closer look at an example for using a digital signage menu to complete an order in a restaurant.

Name of the use case: Using a digital signage menu in a restaurant and ordering food with it.

Participants: Two test subjects. One regularly goes out to eat at a restaurant, the other one for the first time.

Trigger Event: The digital signage menu is probably not intuitive enough.

Short description: Two participants test the functions of a digital signage menu, of which the operation probably has a mistake or is not intuitive enough.

Description of the single steps: The participant goes to the menu / hardware.He operates the hardware with his fingers and selects the dishes of choice.He reaches the checkout area via a field. He completes the order and pays. The participant is assigned an order number.

Description of alternative steps: The participant accidentally chooses the wrong meal and has to go back to the start. He wants to leave the checkout area to expand his order.

Pre- and post-conditions: It should be possible to easily and intuitively place an order.

System boundary and mistakes: Touchscreen won’t accept the input correctly.

That was more of a simplified example but that doesn’t matter. With this example you should develop a feeling how use cases work in a practical manner and especially how they work. Particularly complex applications require a detailed description with many participants and pre-defined alternative scenarios.

Try it yourself: Think of a scenario that suits your business and write it down on paper! You will be surprised which alternatives you can think of and how precisely such a process can be described.

Use Case vs. User Story: What’s the difference?

Use cases and user stories are two different techniques used in software development to describe requirements and functionalities. Both techniques aim at understanding the needs of users and planning the development of software products.

The differences are based on four levels:

  • Abstraction level: Use cases describe the interaction between users and systems over several steps and scenarios. User stories, on the other hand, are less abstract and focus on a specific user requirement.
  • Structure: Use Cases are well structured with a description, precondition, trigger, main flow, and alternative flows. User stories, on the other hand, are less structured and are often written according to the format “As a [user], I want [feature] so that [benefit].
  • Details: Use Cases are very detailed and usually include multiple scenarios. User Stories are less detailed so they remain more adaptable.
  • Use in agile development: Use cases tend to be used less in agile development methods such as Scrum. They are too extensive for this. User stories, on the other hand, are used more frequently because they are flexible and can be easily implemented in short development cycles.

Final advice for usage

Planning and transparency are important for successful use cases. Provide the involved participants with all the relevant information and involve as many employees as possible. But more employees also means that processes become more complex. However, the results promise a more detailed description of requirements.

Take the perspective of the participants and what goals they pursue. Through that, you will recognize the relation between the involved participants and the system. Furthermore it is important to define the pre- and post-conditions. Here is to be defined exactly, which requirements need to be fulfilled at the beginning and at the end.

The more precisely the working processes are defined, the better. It is not recommended to use automated or standardized processes because they don’t ensure an individual judgment of requirements.

Conclusion

Use cases offer a good opportunity to define systems and their functionality and to understand them better. The complex requirements come with danger of failures or unexpected obstacles but with the help of use cases it is possible to foresee these eventualities, test them and optimize the involved processes. Especially the optimization of business processes comes with advantages because companies can consider the wishes and goals of stakeholders more precisely.

What are use cases? Definition and examples (2024)

FAQs

What are use cases? Definition and examples? ›

A use case is a methodology used in system analysis to identify, clarify and organize system requirements. The use case is made up of a set of possible sequences of interactions between systems and users in a particular environment and related to a particular goal.

What is the difference between a scenario and a use case? ›

A use case consists of a number of scenarios, each representing specific instances of the use case that correspond to specific inputs from the Actor or to specific conditions in the environment. Each scenario describes alternate ways that the system provides a behavior, or it can describe failure or exception cases.

How do you identify a use case? ›

A use case is usually more detailed and can be documented with detailed steps. Both describe the user's tasks and processes. One approach to identifying use cases, called the user goal technique, is to ask users to describe their goals for using the new or updated system.

What are the two main types of use cases? ›

There are different kinds of use cases and variations in the technique:
  • System use cases specify the requirements of a system to be developed. ...
  • Business use cases focus on a business organization instead of a software system.

What is a use case with an example? ›

A use case name is often short and you can use the description to elaborate more, often using paragraph form. For example:An e-commerce user selects an item they want to buy, so they place it in their online cart intending to place the order and pay electronically.

How do you best describe a use case? ›

A use case is a concept used in software development, product design, and other fields to describe how a system can be used to achieve specific goals or tasks. It outlines the interactions between users or actors and the system to achieve a specific outcome.

What is an example of a use case scenario in a real world situation? ›

For example, let's say you have a use case for adding products to a shopping cart. A use case scenario might look something like this: A user goes to the website and browses through the product catalog. The user attempts to add a product to their shopping cart, but discovers the product is out of stock.

Who writes use cases? ›

Business analysts are typically responsible for writing use cases and they are employed during several stages of software development, such as planning system requirements, validating design, testing software and creating an outline for online help and user manuals.

What are the three common use case formats? ›

Use Case Formats
  • Actor-Goal list: A format for the overview.
  • Briefs: A format for writing summary use cases.
  • Improvisational score: A format for writing less formal, low-ceremony use cases.
  • Symphonic score: A format for writing more formal, high-ceremony use cases.

What is a use case vs user story? ›

User stories are centered around the requirements and goals of the end user. The focus is on the “who,” “what,” and “why.” Use cases are centered around system behavior and interactions from a technical perspective, describing how the product should work.

What is a use case for dummies? ›

A use case always has three elements an actor, a goal, and a system. The actor is the person who will use the system. The goal is the task that the actor is being asked to accomplish — what end state the tester wants to achieve. The third element is the system. The system is the steps that are taken to reach the goal.

What is common use case? ›

A use case is a description of the different ways that a user can interact with an application or product. They define the various external entities that exist outside the system, as well as the specific interactions they have with the system. This can come in the form of success scenarios, alternate paths, and more.

What is the term for use case? ›

Term: Use case

Use cases are often employed in information technology systems design and engineering. They describe the desired response of a system when it receives external requests. The technique is used to develop the behavioral requirements for a system by describing numerous functional scenarios.

What is the difference between situation and use case? ›

Scenarios describe the software at a high level and give a rationale for each feature of the system existing. Use cases give a detailed account of what each feature does. A description of a use case contains, beyond other things, the main scenario as well alternative and exception scenarios.

What is an example of a use scenario? ›

Use Scenario 1

She has meetings throughout the day and doesn't have time to go to the store before dinner. She would rather not turn to fast food, but she needs groceries for the evening and the rest of the week.

Is a scenario the same as a case study? ›

Case studies depict real-life situations in which problems need to be solved. Scenario-based teaching may be similar to case studies, or may be oriented toward developing communication or teamwork skills. Both case studies and scenarios are commonly used methods of problem-based learning.

What is the difference between Testcase and scenario? ›

The main difference between test cases and test scenarios is that test cases are specific instructions that can be used to test a particular function or feature of an application, while test scenarios are high-level descriptions of how a specific function or feature of an application should work.

Top Articles
The 5 Elements of an Enforceable Contract
Qu’est-ce qui influence le prix des crypto-monnaies ? | Crypto.com
Northern Counties Soccer Association Nj
Skyward Sinton
Dollywood's Smoky Mountain Christmas - Pigeon Forge, TN
Gabriel Kuhn Y Daniel Perry Video
Nikki Catsouras Head Cut In Half
Hallowed Sepulchre Instances & More
Slapstick Sound Effect Crossword
Meg 2: The Trench Showtimes Near Phoenix Theatres Laurel Park
CSC error CS0006: Metadata file 'SonarAnalyzer.dll' could not be found
Day Octopus | Hawaii Marine Life
Gina's Pizza Port Charlotte Fl
Www.paystubportal.com/7-11 Login
Cool Math Games Bucketball
What Is Njvpdi
Mlb Ballpark Pal
Classroom 6x: A Game Changer In The Educational Landscape
Pricelinerewardsvisa Com Activate
Ibukunore
Ratchet & Clank Future: Tools of Destruction
Walgreens Alma School And Dynamite
Noaa Duluth Mn
Georgia Cash 3 Midday-Lottery Results & Winning Numbers
Gazette Obituary Colorado Springs
THE FINALS Best Settings and Options Guide
Craigslist Illinois Springfield
Craigslist Pennsylvania Poconos
The Creator Showtimes Near R/C Gateway Theater 8
Pokémon Unbound Starters
Keshi with Mac Ayres and Starfall (Rescheduled from 11/1/2024) (POSTPONED) Tickets Thu, Nov 1, 2029 8:00 pm at Pechanga Arena - San Diego in San Diego, CA
Primerica Shareholder Account
Craigslist Texas Killeen
Roch Hodech Nissan 2023
6143 N Fresno St
Morlan Chevrolet Sikeston
Craigslist Com Humboldt
Movies123.Pick
Babylon 2022 Showtimes Near Cinemark Downey And Xd
Wal-Mart 2516 Directory
Trivago Myrtle Beach Hotels
Columbia Ms Buy Sell Trade
Easy Pigs in a Blanket Recipe - Emmandi's Kitchen
Umiami Sorority Rankings
Tunica Inmate Roster Release
Mychart Mercy Health Paducah
855-539-4712
The Quiet Girl Showtimes Near Landmark Plaza Frontenac
Minecraft Enchantment Calculator - calculattor.com
Fahrpläne, Preise und Anbieter von Bookaway
Land of Samurai: One Piece’s Wano Kuni Arc Explained
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 6248

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.