Professional Documents
Culture Documents
Use Case
Use Case
• Architectural Layers
• Inception
• Definition
• Sample Artifacts
2
AGENDA
• Use Case Model
• Actors
• Scenarios
• Use Case
• Types and Formats
• Steps
• NextGen POS System Use Case Document
3
USE CASE MODEL
4
WHAT ARE ACTORS, SCENARIOS AND
USE CASES?
• Use cases are stories of how actors use the system to fulfill his goal
• E.g. “ process sale”
• actor: a person or a system with behavior
• There are different kinds of actors: those who uses our system and
those who is used by our system.
• A “cashier” uses our system
• A “tax calculator” is used by our system
5
WHAT ARE ACTORS, SCENARIOS AND
USE CASES?
• Primary actor
• Has user goals fulfilled through using the services of the system
• Supporting actor
• Provides a service (for example information) to the system
• Offstage actor
• Has an interest in the behavior of a use case, but is not primary or
supporting (e.g. tax agency)
6
WHAT ARE ACTORS, SCENARIOS AND
USE CASES?
• A scenario is a specific sequence of actions and interactions
between an actor and the system.
• A use case is a collection of related success and failure scenarios
• Focus :
• Describe actions that gives the actor observable value, not only a list of
functions that the system offers.
• Describe what, not how.
7
WHAT ARE ACTORS, SCENARIOS AND
USE CASES?
•
Use-cases are text documents, not diagrams.
8
USE-CASE TYPES AND FORMATS
• Black-box use case
• Most common and recommended
• They do not describe the internal working of the system.
• The system is described as having responsibilities.
• Formats
• Brief
• Terse one-paragraph summary, usually the main success scenario
• Casual
• Informal, multiple paragraphs that cover various scenarios
• Fully dressed
• The most elaborate. All steps and variations are written in detail and there are supporting
sections with preconditions etc.
9
USE CASE SECTIONS- FULLY DRESSED
FORMAT
• Scope
• Level
• Primary actor
• Stakeholders and interests
• Precondition and success guaranties
• Main success scenario and steps
• Extensions
• Special requirements
• Technology and data variations list
• Frequency of occurrence
• Open issues
10
EVALUATION – WHAT IS A PROPER USE CASE
11
EVALUATION – WHAT IS A PROPER USE CASE
12
USE CASES AND GOALS
• Recommended procedure:
• Find the user goals
• Define a use case for each
• How?
• Ask: what are your goals? (Instead of what do you do?)
13
FINDING PRIMARY ACTORS, GOALS AND
USE CASES
1. Choose the system boundary
2. Identify the primary actors
3. For each, identify their user goals
4. Define use cases that satisfy user goals, name them according to
their goal
14
SUN DOWN MEETING
?
15
THANK
YOU
16