Use case Flashcards
eeee
What is a use case
A tool to analyse and communicate functional requirements.
Describe use case
The system’s behaviour as it responds to a request from the actor.
Describes the sequence of steps to achieve the goal.
Casual use case examples
Actor
System
Goal
Scope
Main sequence
Trigger definition
Specifies the event that gets the use case started.
(What causes the actor to start it).
Pre conditions
Explains the state that the system must be in for the use case to be able to start.
Guarantees definition
The outcome, what must be true after the use case has occurred.
Guarantees type
Success guarantee and Minimum guarantee.
Success guarantee definition
The use case succeeds
Minimum guarantee
The use case ends.
Withdraw cash use case primary actor example
customer
Withdraw cash use case goal
Withdraw cash
Withdraw cash use case scope
Cash machine
Main sequence
- The customer inserts their card in machine
- The system validates the card and prompts the customer to
enter PIN code. - The customer enters the PIN and selects the OK option on
screen - The system validates the PIN entered and displays the
Options Menu Screen. - The customer selects the ‘Cash Withdrawal’ option from the
Options Menu. - The system prompts the customer to enter the amount of
cash that they wish to withdraw - The customer enters a cash amount and selects the OK
option on screen
A fully dressed use case
–Supporting actors
– Stakeholders
– Trigger
– Preconditions
– Main sequence
– Extensions
– Guarantees (success and minimum)
Actor definition
A stakeholder who interacts
with the system during the use case.