SlideShare a Scribd company logo
1 of 22
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

Similar to Use Case

Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagrams
jsm1979
 
05 fse requirementsengineering
05 fse requirementsengineering05 fse requirementsengineering
05 fse requirementsengineering
Mohesh Chandran
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
sleeperharwell
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
Mir Majid
 
Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02
Shuchi Singla
 
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 woFinancial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
ChereCheek752
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1mon
Tuul Tuka
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1mon
Tuul Tuka
 

Similar to Use Case (20)

Use Case Analysis and Diagramming
 Use Case Analysis and Diagramming Use Case Analysis and Diagramming
Use Case Analysis and Diagramming
 
Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagrams
 
Use Case Modeling In UML
Use Case Modeling In UMLUse Case Modeling In UML
Use Case Modeling In UML
 
05 fse requirementsengineering
05 fse requirementsengineering05 fse requirementsengineering
05 fse requirementsengineering
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
 
Ch05
Ch05Ch05
Ch05
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
27 pso business_requirements
27 pso business_requirements27 pso business_requirements
27 pso business_requirements
 
Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02
 
Onlineshoppingonline shopping
Onlineshoppingonline shoppingOnlineshoppingonline shopping
Onlineshoppingonline shopping
 
Use Case UML Diagram
Use Case UML DiagramUse Case UML Diagram
Use Case UML Diagram
 
chapter_5_5.ppt
chapter_5_5.pptchapter_5_5.ppt
chapter_5_5.ppt
 
Usecases
UsecasesUsecases
Usecases
 
Chapter5
Chapter5Chapter5
Chapter5
 
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 woFinancial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
Financial Analysis of Berlin Brandenburg AirportTotal of 3000 wo
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1mon
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1mon
 
Lesson02_Use Case Diagrams
Lesson02_Use Case DiagramsLesson02_Use Case Diagrams
Lesson02_Use Case Diagrams
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 

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

  1. 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.
  2. 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.