L01B Use Cases
L01B Use Cases
(ísl. notkunartilvik)
System Requirements and Design
T-233-SRAD
• Helpful guidelines
• The focus should be on user goals (ísl. notendamarkmið), and they should
describe the interaction (ísl. samskipti) of users with the system. They can
express the expectations of the users and or other stakeholders (ísl. hagaðila).
• What the user needs to do, not how the user does it.
What is a use case? (cont.)
The system
• A use case and the use case Diagram can be An actor
used to answer the following questions:
Use case
- What is being described?
• The system.
- Who interacts with the system? Use case
• The actors (ísl. leikendur)
- What can the actors do? Use case
• The use cases.
What is a use case? (cont.)
What the user needs to do How the user does it
• The user needs to authenticate • The user enters their email and
themselves password on the Login page.
• Easily understood
• Avoid technical terms
• Think of the audience
• Name should represent value created to the actor or other stakeholders
• “Account”
• “Close Account”
Finding use cases
Finding use cases
• Taking a list of features and creating the use cases from it
• Think about:
- What are the main tasks the actor should perform?
- Who is interested in the results of the system?
Contents & format of use cases
Contents & format of use cases
• UML doesn’t describe a standard format for a written use case description.
Examples
Contents & format of use cases
• Use cases should only contain information that is relevant and important.
• by being used by use cases, (the actors assist in the use case = secondary)
Actors are not part of the system; they are outside the system boundaries.
Student
<<actor>>
Student
Use case contents (success + extensions)
Main success scenario (sometimes base flow, basic path, success)
• Describes what the user needs to do to achieve the goal
• Step by step (numbered)
Start End
Main success scenario with extensions
Start End