Chapter 4.pptx

Z
Chapter 4:
Use Cases Analysis
Chapter 4.pptx
Use cases
• Elements of a use case
• Alternative use case formats
• Use cases and functional requirements
• Use cases and testing
• Building use cases.
Introduction
• Use cases are a means of expressing user
requirements.
• Use cases are used extensively in the analysis
phase.
• A use case represents how a system interacts
with its environment by illustrating the activities
that are performed by the users and the systems
response.
• The text-based use case is easy for the users to
understand, and also flows easily into the
creation of process models and the data model.
Use Cases
• A use case depicts a set of activities that produce
some output result.
• Each use case describes how an external user
trigger and event to which the system must
respond.
• With this type of event-driven modeling,
everything in the system can be thought of as a
response to some triggering event.
• Creation of use cases is often done as a part of
interview session with users or a part of JAD
sessions.
Elements of a use case
• Basic Information:
– Each use case has a name and number, and brief
description.
– The priority may be assigned to indicate the
relative significance.
– The actor refers to a person, another system, or a
hardware device that interacts with the system to
achieve a useful goal.
– The trigger for the use case – the event that
causes the use case to begin.
Chapter 4.pptx
Preconditions
• It is common practice to create smaller, more
focused use cases breaking the whole process
down into parts.
• It is important to define clearly what needs to
be accomplished before each use case begins.
• The preconditions define the state the system
must be in before the use case commences.
Normal Course
• The next part of a use case is the description
of the major steps that are performed to
execute the response to the event the inputs
used for the steps and the outputs produced
by the steps.
• The normal course lists the steps.
Alternative courses
• Alternative courses depicts branches
(alternative paths of the steps) in logic that
also will lead to a successful conclusion of the
use case.
Postconditions
• The postconditions section defines the final
product of the use case.
• These postconditions also serves to define the
preconditions for the next use case in the
series.
Exceptions
• A use case should describe any error
conditions or exceptions that may occur as the
use case steps are performed.
• These are not normal branches in decision
logic, but are unusual occurrences or errors
that could potentially be encountered and will
lead to an unsuccessful result.
Summary of inputs and outputs
• The final section of the use case summarizes
the set of major inputs and outputs of the use
case, along with their source of destination.
Additional use case issues
• Additional sections may be included,
• E.g.;
– Frequency of use.
– Business rules.
– Special requirements.
– Assumptions.
– Notes and issues.
Chain of use case –an example
Alternative use case formats
• A full-dressed use case is very thorough,
detailed, and highly structured.
• The project team may decide that a more
casual use case format is acceptable.
Chapter 4.pptx
Use cases and the functional
requirements
• Use cases are very useful tools to us to
understand user requirements.
• However, use cases only convey the user’s point
of view.
• Transforming the user’s view into the developers
view by creating functional requirements is one
of the important contributions of system analyst.
• The derived functional requirements give more
information to the developer about what the
system must do.
Use case testing
• Building use cases
– Step 1: identify the major use cases
– Step2: identify the major steps for each use case.
– Step3: Identify elements within steps
– Step4: Confirm the use case
Revise functional requirements based
on use cases
• The functional requirements in the
requirements definition may be modified to
reflect the more detailed understanding and
to provide insight to the development team
on some “back-end” processing.
example
Summary
• A use case contains all the info needed to
build one part of a process model, expressed
in an informal, simple way.
• When writing a use case.
– Identify the triggering event.
– Develop a list of the major steps.
– Identify the inputs and outputs for every step.
– Have the users role-play the use case to verify.
1 von 24

Más contenido relacionado

Similar a Chapter 4.pptx(20)

2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagram
Ashenafi Workie628 views
Use Case Modelling.pptxUse Case Modelling.pptx
Use Case Modelling.pptx
azida314 views
3. 1 req elicitation3. 1 req elicitation
3. 1 req elicitation
Ashenafi Workie79 views
Software engineeringSoftware engineering
Software engineering
renukarenuka981 views
sdlc.pptxsdlc.pptx
sdlc.pptx
XylemSolutions49 views
Ppt ooad ooad3unitPpt ooad ooad3unit
Ppt ooad ooad3unit
ramyalaksha25 views
22-REQUIREMENT.ppt22-REQUIREMENT.ppt
22-REQUIREMENT.ppt
ssuser5e271f111 views
Requirements engineeringRequirements engineering
Requirements engineering
Sutha3191 views
Unit2 Software engineering UPTUUnit2 Software engineering UPTU
Unit2 Software engineering UPTU
Mohammad Faizan3K views
Unit 3 for stUnit 3 for st
Unit 3 for st
Poonkodi Jayakumar1.7K views
IFSM 461 Entire Course NEWIFSM 461 Entire Course NEW
IFSM 461 Entire Course NEW
shyamuopuopeleven17 views
Lec-9.pptLec-9.ppt
Lec-9.ppt
HassanFayyazAhmad3 views
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
NouraBaccar12 views
Use Case DiagramUse Case Diagram
Use Case Diagram
Kumar 27.5K views
System models of sdlc- v modelSystem models of sdlc- v model
System models of sdlc- v model
Minal Kashyap3.2K views

Último(20)

Anthelmintic Drugs-Medicinal ChemistryAnthelmintic Drugs-Medicinal Chemistry
Anthelmintic Drugs-Medicinal Chemistry
NarminHamaaminHussen5 views
Nomor Meja RUANG-4.docNomor Meja RUANG-4.doc
Nomor Meja RUANG-4.doc
ssuserc40b916 views
Here_Process bookHere_Process book
Here_Process book
nykimstudio15 views
Anti-Cancer Drugs-Medicinal ChemistryAnti-Cancer Drugs-Medicinal Chemistry
Anti-Cancer Drugs-Medicinal Chemistry
NarminHamaaminHussen6 views
3 Dark Design Templates3 Dark Design Templates
3 Dark Design Templates
Pixeldarts12 views
Anti -Parkinsonian Drugs-Medicinal ChemistryAnti -Parkinsonian Drugs-Medicinal Chemistry
Anti -Parkinsonian Drugs-Medicinal Chemistry
NarminHamaaminHussen7 views
Figma Prototype A to Z.pdfFigma Prototype A to Z.pdf
Figma Prototype A to Z.pdf
Atiqur Rahaman14 views
Be Kind Of A Bitch Sweatshirt Be Kind Of A Bitch Sweatshirt
Be Kind Of A Bitch Sweatshirt
TeeFusion23 views
Task 3.pptxTask 3.pptx
Task 3.pptx
ZaraCooper216 views
Design System.pdfDesign System.pdf
Design System.pdf
Atiqur Rahaman9 views
Viking passive.pdfViking passive.pdf
Viking passive.pdf
Matis Velt15 views
Presentation (1).pdfPresentation (1).pdf
Presentation (1).pdf
hjksa15 views
Doing Footwear - Footwear FactoryDoing Footwear - Footwear Factory
Doing Footwear - Footwear Factory
Doing Footwear6 views
KachaliKachali
Kachali
charulchoudhary240410 views
Scopic UX Design Test Task.pdfScopic UX Design Test Task.pdf
Scopic UX Design Test Task.pdf
Atiqur Rahaman237 views
polarispolaris
polaris
scribddarkened352188 views
217 Drive - All on upper.pptx217 Drive - All on upper.pptx
217 Drive - All on upper.pptx
vidstor2829 views
My Creative Resume DIAPOS.pptxMy Creative Resume DIAPOS.pptx
My Creative Resume DIAPOS.pptx
BrayanQuispe237 views

Chapter 4.pptx

  • 3. Use cases • Elements of a use case • Alternative use case formats • Use cases and functional requirements • Use cases and testing • Building use cases.
  • 4. Introduction • Use cases are a means of expressing user requirements. • Use cases are used extensively in the analysis phase. • A use case represents how a system interacts with its environment by illustrating the activities that are performed by the users and the systems response. • The text-based use case is easy for the users to understand, and also flows easily into the creation of process models and the data model.
  • 5. Use Cases • A use case depicts a set of activities that produce some output result. • Each use case describes how an external user trigger and event to which the system must respond. • With this type of event-driven modeling, everything in the system can be thought of as a response to some triggering event. • Creation of use cases is often done as a part of interview session with users or a part of JAD sessions.
  • 6. Elements of a use case • Basic Information: – Each use case has a name and number, and brief description. – The priority may be assigned to indicate the relative significance. – The actor refers to a person, another system, or a hardware device that interacts with the system to achieve a useful goal. – The trigger for the use case – the event that causes the use case to begin.
  • 8. Preconditions • It is common practice to create smaller, more focused use cases breaking the whole process down into parts. • It is important to define clearly what needs to be accomplished before each use case begins. • The preconditions define the state the system must be in before the use case commences.
  • 9. Normal Course • The next part of a use case is the description of the major steps that are performed to execute the response to the event the inputs used for the steps and the outputs produced by the steps. • The normal course lists the steps.
  • 10. Alternative courses • Alternative courses depicts branches (alternative paths of the steps) in logic that also will lead to a successful conclusion of the use case.
  • 11. Postconditions • The postconditions section defines the final product of the use case. • These postconditions also serves to define the preconditions for the next use case in the series.
  • 12. Exceptions • A use case should describe any error conditions or exceptions that may occur as the use case steps are performed. • These are not normal branches in decision logic, but are unusual occurrences or errors that could potentially be encountered and will lead to an unsuccessful result.
  • 13. Summary of inputs and outputs • The final section of the use case summarizes the set of major inputs and outputs of the use case, along with their source of destination.
  • 14. Additional use case issues • Additional sections may be included, • E.g.; – Frequency of use. – Business rules. – Special requirements. – Assumptions. – Notes and issues.
  • 15. Chain of use case –an example
  • 16. Alternative use case formats • A full-dressed use case is very thorough, detailed, and highly structured. • The project team may decide that a more casual use case format is acceptable.
  • 18. Use cases and the functional requirements • Use cases are very useful tools to us to understand user requirements. • However, use cases only convey the user’s point of view. • Transforming the user’s view into the developers view by creating functional requirements is one of the important contributions of system analyst. • The derived functional requirements give more information to the developer about what the system must do.
  • 19. Use case testing • Building use cases – Step 1: identify the major use cases
  • 20. – Step2: identify the major steps for each use case. – Step3: Identify elements within steps
  • 21. – Step4: Confirm the use case
  • 22. Revise functional requirements based on use cases • The functional requirements in the requirements definition may be modified to reflect the more detailed understanding and to provide insight to the development team on some “back-end” processing.
  • 24. Summary • A use case contains all the info needed to build one part of a process model, expressed in an informal, simple way. • When writing a use case. – Identify the triggering event. – Develop a list of the major steps. – Identify the inputs and outputs for every step. – Have the users role-play the use case to verify.