SlideShare a Scribd company logo
UseCase
Definition of
use case
CONTENTS
Use Case
Symbols
Difficulties
With Use
Case
Diagram
Use Case
Elements
Use Case -
Relationships
Example Of
Use Case
Relationship
Building
Use Cases
Use Case
diagram-
Example
Purpose of
Use Case
Diagram
Benefits
Of Use
Case
Diagram
Definition Of Use Case
 Use Case
 Actor
 Boundary
 Connection
 Include relationship
 Extend relationship
<<include>>
<<extend>>
Use Case Symbols
01 Actor
02 Use Case
03 Communication
USE CASE ELEMENTS
03
02
01
Actor
Use
Case Element
s
The actor(s) who trigger the use
case to activate. An Actor is
outside or external the system.
It can be a:
• Human
• Peripheral device
(hardware)
• External system or
subsystem
• Time or time-based eventIt is represented by stick figure.
Actor
03
02
01
Use Case
Use
Case Element
s
A use case in a use case diagram is a visual
representation of a distinct business
functionality in a system. A use case is a
summary of scenarios for a single task or
goal.
For example- The figure shows in below have
two use cases: "Make appointment" and
"Perform medical tests" in the use case
diagram of a clinic system.
Use case
Fig: Use cases in a use case
diagram
03
02
01
Communication
Use
Case Element
s
Communication
Depicted by line
or double-headed
arrow line
Represent
communication
between actor
and use case
Use Case - Relationships
Association Relationship:
USE CASE - RELATIONSHIPS
Make
Appointment
System Boundary:
Extend
Include
Generalization
Other Types of
Relationships
for Use Cases
Child use case Parent use case
Generalization Relationship:
A generalization relationship is also a
parent-child relationship between use
cases. In a use case diagram, generalization
is shown as a directed arrow with a triangle
arrowhead. The child use case is connected
at the base of the arrow.
03
Write <<
include
>> above
arrowhead
line
02
Arrow
is
drawn
from
the
base
use
case to
the
used
use
case
01
Represents
the
inclusion
of the
functionalit
y of one
use case
within
another
Include
Relationship
03
Write <<
extend
>> above
arrowhead
line
02
Arrow
is
drawn
from
the
extensi
on use
case to
the
base
use
case
01
Represents
the
extension
of the use
case to
include
optional
functionalit
y
Extend
Relationship
EXAMPLE OF
RELATIONSHIPS
01 Identify the major use cases
Activities: Start a use case form for each use case
If more than nine, group into packages
Step
02 Identify the major steps within each use case
Activities: For each use case, fill in the major steps
needed to process the inputs and produce the
outputs
Step
03 Identify elements within steps
Activities: For each step, identify its triggers
and its inputs and outputs
Step
04 Confirm the use case
Activities:
For each use case, validate
that it is correct and complete
Step
BUILDINGUSECASES
USE-CASE
DIAGRAMS:
EXAMPLE
Developed by
analysts
together with
domain experts
Validate a
systems
architecture
Specify the
context of a
system
Defining and
organizing
functional
requirements
in a system
Drive
implementation
and generate test
cases
Capture the
requirements
of a system
PURPOSE OF USE CASE DIAGRAM
Use case diagrams are typically develop in
early stage of development and people
often apply use case modeling for the
following purposes:
01
Detailing user
interaction goals with a
product
02
Use cases are determining
the specific needs of a project
03
Use cases provide a
contractual delivery
process
04
Use cases provide an easily
understood communication mechanism
05
Outlining and ensuring the
requirements of a system
06
Modeling the basic flow of
events in a use case
BENEFITS OF USE CASES
Require the co-existence
of prototypesNumber
04
They do not capture the non-
functional requirements easily
Number
03
Time-consuming
to generateNumber
02
Limited software
tool supportNumber
01
DIFFICULTIES WITH
USE CASES
Use Case
Use Case

More Related Content

PPTX
Model Calibration and Uncertainty Analysis
PPT
Excel Datamining Addin Intermediate
DOC
Comp 122 lab 6 lab report and source code
PDF
Tutorial 4 how to edit the unsafe control actions of stpa project in xstampp
PDF
Tutorial 6 how to edit the causal factors in stpa project
PPT
Excel Datamining Addin Beginner
PDF
Tutorial 3 how to draw control structure diagram of the STPA safety analysis ...
PPTX
Formulas in ms excel for statistics(report2 in ict math ed)
Model Calibration and Uncertainty Analysis
Excel Datamining Addin Intermediate
Comp 122 lab 6 lab report and source code
Tutorial 4 how to edit the unsafe control actions of stpa project in xstampp
Tutorial 6 how to edit the causal factors in stpa project
Excel Datamining Addin Beginner
Tutorial 3 how to draw control structure diagram of the STPA safety analysis ...
Formulas in ms excel for statistics(report2 in ict math ed)

Similar to Use Case (20)

PDF
data modelling concepts.pdf software engineeringre
PPTX
Use Case Analysis and Diagramming
PPT
Intro to UML - Use Case diagrams
PPTX
Use Case Modeling In UML
PPTX
05 fse requirementsengineering
DOCX
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
PPT
Ch05
DOC
Use case diagrams
DOC
27 pso business_requirements
DOC
Onlineshopping 121105040955-phpapp02
DOC
Onlineshoppingonline shopping
PDF
Use Case UML Diagram
PPT
chapter_5_5.ppt
PPTX
Chapter 2_NEW-An overview of UMLupdated.pptx
PDF
Usecases
PPT
Chapter5
DOCX
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
PPTX
Chapter 3.pptx
PPT
CASE Tools lab.ppt
PPT
05 use-case-modeling-1mon
data modelling concepts.pdf software engineeringre
Use Case Analysis and Diagramming
Intro to UML - Use Case diagrams
Use Case Modeling In UML
05 fse requirementsengineering
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
Ch05
Use case diagrams
27 pso business_requirements
Onlineshopping 121105040955-phpapp02
Onlineshoppingonline shopping
Use Case UML Diagram
chapter_5_5.ppt
Chapter 2_NEW-An overview of UMLupdated.pptx
Usecases
Chapter5
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
Chapter 3.pptx
CASE Tools lab.ppt
05 use-case-modeling-1mon
Ad

Recently uploaded (20)

PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
86236642-Electric-Loco-Shed.pdf jfkduklg
PDF
737-MAX_SRG.pdf student reference guides
PPT
Total quality management ppt for engineering students
PPTX
communication and presentation skills 01
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PPTX
introduction to high performance computing
PPTX
Current and future trends in Computer Vision.pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
UNIT - 3 Total quality Management .pptx
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PPT
Occupational Health and Safety Management System
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
86236642-Electric-Loco-Shed.pdf jfkduklg
737-MAX_SRG.pdf student reference guides
Total quality management ppt for engineering students
communication and presentation skills 01
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Fundamentals of Mechanical Engineering.pptx
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
introduction to high performance computing
Current and future trends in Computer Vision.pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
UNIT - 3 Total quality Management .pptx
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
Occupational Health and Safety Management System
Fundamentals of safety and accident prevention -final (1).pptx
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Ad

Use Case

  • 2. Definition of use case CONTENTS Use Case Symbols Difficulties With Use Case Diagram Use Case Elements Use Case - Relationships Example Of Use Case Relationship Building Use Cases Use Case diagram- Example Purpose of Use Case Diagram Benefits Of Use Case Diagram
  • 4.  Use Case  Actor  Boundary  Connection  Include relationship  Extend relationship <<include>> <<extend>> Use Case Symbols
  • 5. 01 Actor 02 Use Case 03 Communication USE CASE ELEMENTS
  • 6. 03 02 01 Actor Use Case Element s The actor(s) who trigger the use case to activate. An Actor is outside or external the system. It can be a: • Human • Peripheral device (hardware) • External system or subsystem • Time or time-based eventIt is represented by stick figure. Actor
  • 7. 03 02 01 Use Case Use Case Element s A use case in a use case diagram is a visual representation of a distinct business functionality in a system. A use case is a summary of scenarios for a single task or goal. For example- The figure shows in below have two use cases: "Make appointment" and "Perform medical tests" in the use case diagram of a clinic system. Use case Fig: Use cases in a use case diagram
  • 9. Depicted by line or double-headed arrow line Represent communication between actor and use case Use Case - Relationships Association Relationship:
  • 10. USE CASE - RELATIONSHIPS Make Appointment System Boundary:
  • 12. Child use case Parent use case Generalization Relationship: A generalization relationship is also a parent-child relationship between use cases. In a use case diagram, generalization is shown as a directed arrow with a triangle arrowhead. The child use case is connected at the base of the arrow.
  • 13. 03 Write << include >> above arrowhead line 02 Arrow is drawn from the base use case to the used use case 01 Represents the inclusion of the functionalit y of one use case within another Include Relationship
  • 14. 03 Write << extend >> above arrowhead line 02 Arrow is drawn from the extensi on use case to the base use case 01 Represents the extension of the use case to include optional functionalit y Extend Relationship
  • 16. 01 Identify the major use cases Activities: Start a use case form for each use case If more than nine, group into packages Step 02 Identify the major steps within each use case Activities: For each use case, fill in the major steps needed to process the inputs and produce the outputs Step 03 Identify elements within steps Activities: For each step, identify its triggers and its inputs and outputs Step 04 Confirm the use case Activities: For each use case, validate that it is correct and complete Step BUILDINGUSECASES
  • 18. Developed by analysts together with domain experts Validate a systems architecture Specify the context of a system Defining and organizing functional requirements in a system Drive implementation and generate test cases Capture the requirements of a system PURPOSE OF USE CASE DIAGRAM Use case diagrams are typically develop in early stage of development and people often apply use case modeling for the following purposes:
  • 19. 01 Detailing user interaction goals with a product 02 Use cases are determining the specific needs of a project 03 Use cases provide a contractual delivery process 04 Use cases provide an easily understood communication mechanism 05 Outlining and ensuring the requirements of a system 06 Modeling the basic flow of events in a use case BENEFITS OF USE CASES
  • 20. Require the co-existence of prototypesNumber 04 They do not capture the non- functional requirements easily Number 03 Time-consuming to generateNumber 02 Limited software tool supportNumber 01 DIFFICULTIES WITH USE CASES

Editor's Notes

  • #11: System boundary: A system boundary defines the scope of what a system will be. A system cannot have infinite functionality. So, it follows that use cases also need to have definitive limits defined. A system boundary of a use case diagram defines the limits of the system. The system boundary is shown as a rectangle spanning all the use cases in the system. Other use cases in this lecture also show the system boundary of the clinic application. The use cases of this system are enclosed in a rectangle. Note that the actors in the system are outside the system boundary. The system boundary is potentially the entire system as defined in the problem statement. But this is not always the case. For large and complex systems, each of the modules may be the system boundary. For example, for an ERP system for an organization, each of the modules such as personnel, payroll, accounting, and so forth, can form the system boundary for use cases specific to each of these business functions. The entire system can span all of these modules depicting the overall system boundary.
  • #13: Inheritance A use case generalization shows that one use case is simply a special kind of another. A clinic may have a use case such as Pay Bill which would be a parent use case and Bill Insurance which is the child. A child can be substituted for its parent whenever necessary. Generalization appears as a line with a triangular arrow head toward the parent use case.