Use Case
Use Case
Use Case
https://online.visual-paradigm.com/diagrams/tutorials/use-case-diagram-tutorial/
Use Case Diagram Tutorial
A use case describes how a user uses a system to accomplish a particular goal. A
use case diagram consists of the system, the related use cases and actors and
relates these to each other to visualize: what is being described? (system), who is
using the system? (actors) and what do the actors want to achieve? (use cases),
thus, use cases help ensure that the correct system is developed by capturing the
requirements from the user's point of view.
While a use case itself might drill into a lot of detail (such as, flow of events and
scenarios) about every possibility, a use-case diagram can help provide a higher-
level view of the system, providing the simplified and graphical representation of
what the system must actually do.
Use Case
A use case describes how actors uses a system to accomplish a particular goal. Use
cases are typically initiated by a user to fulfill goals describing the activities and
variants involved in attaining the goal.
Relationship
The relationships between and among the actors and the use cases.
System Boundary
The system boundary defines the system of interest in relation to the world around it.
Note that: to make use case approach more "Agile", do not detail all use cases, but
prioritize them in your product backlog, you should refine the use case in different
level of details according to the development phase with just-in-time and just-enough
manner.
Draw packages for logical categorization of use cases into related subsystems.
Structuring Use Cases
UML defines three stereotypes of association between Use Cases:
Example
This example depicts a model of several business use cases (goals) which
represents the interactions between a restaurant (the business system) and its
primary actors.
After the base use cases have been identified in the first cut, perhaps we could
further structuring those use case with <<extend>> and <<include>> use cases in
the second round touch up as shown in the Figure below:
Business Use Case
A business use case is described in technology-free terminology which treats the
business process as a black box and describes the business process that is used by
its business actors, while an ordinary use case is normally described at the system
functionality level and specifies the function or the service that the system provides
for the user. In other words, business use case represents how the work to be done
manually in the currently situation and it is not necessarily done by the system or
intend to be automated in the scope of target system.
Use Case Diagram Examples
The figure below shows an ATM use case diagram example, which is quite a classic
example to use in teaching use case diagram.
The Document Management System (DMS) use case diagram example below
shows the actors and use cases of the system. In particular, there are include and
extend relationships among use cases.
The Order System use case diagram example below shows the actors and use
cases involved in the system: