0% found this document useful (0 votes)
30 views17 pages

Use Cases

Uploaded by

imran saeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views17 pages

Use Cases

Uploaded by

imran saeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 17

Use Cases

1
Key Ideas
Use cases are a text-based method of
describing and documenting complex
processes
Use cases add detail to the requirements
outlined in the requirement definition
Systems analysts work with users to
develop use cases
Systems analysts develop process and
data models later based on the use
cases
2
Use Cases

3
Roles of Use Cases
A use case is a set of activities that
produce some output result
Describes how the system reacts to an
event that triggers the system
Trigger -- event that causes the use case
to be executed
Event-driven modeling – everything in
the system is a response to some
triggering event
4
Sample Format for a
Written Use Case

Title – descriptive name, matches name


in use case diagram
Primary actor – usually a user role
Stakeholders – any group or individual
with an interest in the function of the use
case
Precondition – conditions that must be
satisfied in order to execute the use case
5
A sample
written use
case

6
Building Use Cases

7
Sample List of Events-Actions Based
on Requirements Definition

8
Exercise: Use Cases
Describe one major use case from your
team project (try to find the most
important one) using the template
provided (based on Fig. 6-4 on pg.
174).

9
The Four Basic UML Diagrams

10
USE CASE DIAGRAM

11
Use Case Diagram for
Appointment System

12
Syntax for Use Case Diagram

13
Use Case Diagram for Specialized
Actor

14
Extends and Includes Associations

15
Steps in Creating the Use Case Diagram
1. Identify Use Cases
2. Draw the system boundary
3. Place Use Cases on the diagram
Group Use Cases into packages
Add special Use Case associations
4. Identify the actors
5. Add associations
16
Exercise: Use Cases in UML
Choose at least 5 functional
requirements for your team project.
Draw a use case diagram similar
to Fig. 6-9 on P. 181 that
represents these requirements as
use cases, along with the
appropriate actors.

17

You might also like