Professional Documents
Culture Documents
Use Case Diagram
Use Case Diagram
Use Case Diagram
Chakraborty
Normally client’s requirements are loosely
defined, fuzzy and ambiguous.
A Use Case is a case or situation where
intended system is used to fulfill one or more
user’s requirements
Each use case captures a piece of functionality
that the system provides
Use cases are at the heart of the model as they
affect and guide all of the other elements of the
system’s design.
Logical View Process View
Generalization
Arrow
More
Specific
Actor
Admin
Use Cases
Once the actors are recognized, assemble exact
model of those interactions.
From user’s requirement, find cases where the
system is being used to complete a specific job for an
actor.
A use case from user’s perspective is a complete use
of the system.
There will be some interaction with the system as
well as some output from that interaction.
Use Cases
Use case is something that provides some
measurable result to the user or an external system.
Represent Use Case
Use case is represented by an oval shape with the
name of the process inside the oval.
UserLogIn
Communication Line
Shows the actors participation with specific use
cases.
An actor may communicate with more than one use
case.
One use case may be interacted with more than one
actor.
Direction of flow of data is not normally not shown
as type of information exchange is detailed in the use
case’s description.
Communication Line
Visitor
UserLogIn
Admin
Member
System Boundaries
Though there is an implicit separation between
actors (external to system) and the uses cases
(internal to system) and that marks system's
boundary, UML does provide another small piece of
notation to make things more specific.
System Boundaries
Visitor
UserLogIn
Admin
Member
Use Case Documentation
Description
Flow of Event
Basic Flow
Alternative Flow
Pre-Conditions
Post-Conditions
Use Case Documentation (Possible Extension)
Trigger
Actors
Primary Actors
Secondary Actors
Remarks
Online Shopping System
Visitor
UserLogIn
Admin
Member
Online Shopping System
Visitor
UserLogIn
Admin
Member
Online Shopping System
Visitor UserCredentials
UserLogIn
Admin
Member
Online Shopping System
UserSignIn
UserCredentials
Visitor
UserLogIn
Admin
Member
Online Shopping System
Create
UserSignIn Credentials
UserCredentials
Visitor Check
Credentials
UserLogIn
Admin
Member
Online Shopping System
Create
UserSignIn Credentials
UserCredentials
Visitor Check
Credentials
UserLogIn
Admin
Admin
Login
Member
Online Shopping System
Create
UserSignIn Credentials
Visitor
UserLogIn
Admin
Admin
Login
Member
A visitor to the OLS system is the one whoever
visits the system on line. No logging action is
expected for a visitor. So, a visitor initially get
identity code for the session as its session code,
generated by the system.