SlideShare a Scribd company logo
1 of 19
PHƯƠNG PHÁP TÌM KIẾM USE CASE
Trình bày: Nguyễn Văn Sang
Email : nvsang@gimasys.com
Use Case
1. Vai trò của use case trong Project
2. Actor
3. Event List and Event Table
4. Proposed format of an event table
5. Getting to use cases
6. Shadow use cases
1. Actor
1. Actors are key to obtaining several artifacts in the
project.
Actors are usually thought of as human beings, but they
also may be other systems, timers and clocks, or
hardware devices.
2. To find the actors, ask the following questions.
Who/what will be interested in the system?
Who/what will want to change the data in the system?
Who/what will want to interface with the system?
Who/what will want information from the system?
Ví dụ
2.Event List and Event Table
Actor Definition
Customer Place orders for products
Supplier Supplies products to the company for
resale
Accounting system Gets accounting information from the
system
Shipping Clerk Coordinates the routing of fulfilled
product orders
3.Proposed format of an event table
• Xác định Actor thông qua cấu trúc sau:
Subject+Verb +Object
Subject is an Actor defined earlier in the process.
Verb shows the action.
Object is the focus of the action defined in the
verb.
• Ví dụ:
CSGT lập biên bản vi phạm hành chính đối với
người vi phạm
3.Proposed format of an event table
Subject verd object Frequency Arrival
pattern
response
Customer places order 1000/day Episodic Order is
edited and
save in the
system.
CSGT Lập Biên bản vi
phạm
Nhiều
lần/ngay
Biên bản
được lưu
vào hệ
thống
• Response là một trong những thành phần
quan trọng của “Event table”, nó ảnh hưởng
đến thiết kế và là trình sau này của hệt thống
• when readdressing the event table, we make
sure the table is grouped in actor order.
• We take these natural groupings and write a
short (one or two words) descriptive phrase
for each, asking these questions.
What do these events have in common?
Do these events have the same ultimate goal? If
so,what is it?
4.Getting to use cases
4.Getting to use cases
• Finding the Pathways through the Use Case
• We need to find the various pathways through
each use case.
• Primary
• Alternate
• Exception
Use case Template
User case name Two or three words
User case
description
A short description
User case Authors The authors of the use case
Actors The actors involved in this use case
Locations The locations that will perform this use case;
Typically base on a geographical location but may be departments or divisions
Status The stage that the use case is in: initial path-ways defined and completed
Priority With 1 being the highest
Assumptions What is assumed to be true, or false, about this use case
Preconditions Facts that must be true before this use case and its internal pathways can be initiated:
sometimes called the required system state for execution
Postconditions Facts the must be true when use case ends; sometimes called the required system state upon
completion
Primary pathways The name of the primary pathway
Alternate pathway Alternate pathways through the use case
Exception
pathway
Exception pathways or error conditions
Finding the Happy path
User case Happy path
Maintain orders A customer calls in to inquire
about an order’s status.
Finding the Alternate Pathways
• An alternate pathway is a pathway that is still
considered a good citizen pathway.
Finding the Alternate Pathways
Use case Alternate pathway
Maintain orders
- A customer calls in to change a product quantity
for one order item on the order
- A customer calls to cancel on order
- A customer calls to add a new item to an order
- A customer calls to delete an item from an order
- A customer to change the shipping terms of an
order
- A customer buys an extended warranty on an
item.
- A customer calls to change the billing method.
Finding the Exception pathways
• An exception pathway is intended to capture
an “unhappy” pathway.
Finding the Exception pathways
User case Happy path
Maintain orders
- A customer calls in to cancel an order that isn’t
found in the system
- A customer calls to add a warranty that is no
longer valid for the time that the product has
been owned
- A customer calls to change order , and the
product to be added is not found in the system.
5. Shadow use cases
• Use cases are viewed form the eyes of the
business, that is the use.
• I call these shadow use cases because they are
never given their due respect in most
applications.
5. Shadow use cases
The most common shadow use cases found
across all application domains:
1. Security
2. Audit
3. Archiving
4. Architecture infrastructure

More Related Content

Viewers also liked

Jasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medija
Jasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medijaJasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medija
Jasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medijaPositive
 
3rd quarter hand outs (2)
3rd quarter hand outs (2)3rd quarter hand outs (2)
3rd quarter hand outs (2)potassium2012
 
Luke and Corey
Luke and Corey     Luke and Corey
Luke and Corey Room14bbi
 
sunlight
sunlightsunlight
sunlightlily
 
Scrivere per il web
Scrivere per il webScrivere per il web
Scrivere per il webviviana cozi
 
Media factor дниpr_
Media factor дниpr_Media factor дниpr_
Media factor дниpr_MediaFactor
 
Land mark towers for web
Land mark towers for webLand mark towers for web
Land mark towers for webIsha Amastha
 
English
EnglishEnglish
EnglishDavid
 
AIMS SANYA @9910008812 ASSURED RETURN 12 %
AIMS SANYA @9910008812 ASSURED RETURN 12 %AIMS SANYA @9910008812 ASSURED RETURN 12 %
AIMS SANYA @9910008812 ASSURED RETURN 12 %Isha Amastha
 
MICON - NI 43-101 Technical Resource Report
MICON - NI 43-101 Technical Resource ReportMICON - NI 43-101 Technical Resource Report
MICON - NI 43-101 Technical Resource ReportSpider Resources, Inc.
 
UDC in NAIST Overpass APIの紹介
UDC in NAIST Overpass APIの紹介UDC in NAIST Overpass APIの紹介
UDC in NAIST Overpass APIの紹介Satoshi Iida
 
Особенности египетской архитектуры
Особенности египетской архитектурыОсобенности египетской архитектуры
Особенности египетской архитектурыfonelene elengone
 
496411316 boyo
496411316 boyo496411316 boyo
496411316 boyoAngela
 
Gap_mediacompetences
Gap_mediacompetencesGap_mediacompetences
Gap_mediacompetencesMediaFactor
 
2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナー
2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナー2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナー
2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナーSatoshi Iida
 

Viewers also liked (18)

The power of words to create
The power of words to createThe power of words to create
The power of words to create
 
Jasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medija
Jasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medijaJasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medija
Jasna Kamatovic, Naucno-strucni rad: Komppnijsko koriscenje drustvenih medija
 
3rd quarter hand outs (2)
3rd quarter hand outs (2)3rd quarter hand outs (2)
3rd quarter hand outs (2)
 
Luke and Corey
Luke and Corey     Luke and Corey
Luke and Corey
 
sunlight
sunlightsunlight
sunlight
 
Scrivere per il web
Scrivere per il webScrivere per il web
Scrivere per il web
 
Media factor дниpr_
Media factor дниpr_Media factor дниpr_
Media factor дниpr_
 
Land mark towers for web
Land mark towers for webLand mark towers for web
Land mark towers for web
 
English
EnglishEnglish
English
 
AIMS SANYA @9910008812 ASSURED RETURN 12 %
AIMS SANYA @9910008812 ASSURED RETURN 12 %AIMS SANYA @9910008812 ASSURED RETURN 12 %
AIMS SANYA @9910008812 ASSURED RETURN 12 %
 
MICON - NI 43-101 Technical Resource Report
MICON - NI 43-101 Technical Resource ReportMICON - NI 43-101 Technical Resource Report
MICON - NI 43-101 Technical Resource Report
 
UDC in NAIST Overpass APIの紹介
UDC in NAIST Overpass APIの紹介UDC in NAIST Overpass APIの紹介
UDC in NAIST Overpass APIの紹介
 
Black(Still) Matters
Black(Still) MattersBlack(Still) Matters
Black(Still) Matters
 
Особенности египетской архитектуры
Особенности египетской архитектурыОсобенности египетской архитектуры
Особенности египетской архитектуры
 
Evaluación v4
Evaluación v4Evaluación v4
Evaluación v4
 
496411316 boyo
496411316 boyo496411316 boyo
496411316 boyo
 
Gap_mediacompetences
Gap_mediacompetencesGap_mediacompetences
Gap_mediacompetences
 
2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナー
2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナー2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナー
2014-07-13 OpenStreetMapの有効活用 八王子オープンデータセミナー
 

Similar to Finding use case

Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsnaveed428
 
Use Case Model with components in software.ppt
Use Case Model with components in software.pptUse Case Model with components in software.ppt
Use Case Model with components in software.pptTalhaTajammal1
 
System Analysis Fact Finding Methods
System Analysis Fact Finding MethodsSystem Analysis Fact Finding Methods
System Analysis Fact Finding MethodsMoshikur Rahman
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringsnehalkulkarni74
 
Refining The System Definition
Refining The System DefinitionRefining The System Definition
Refining The System DefinitionSandeep Ganji
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptxzaaakditte
 
use_case+use_case description.pptx
use_case+use_case description.pptxuse_case+use_case description.pptx
use_case+use_case description.pptxAqeelAbbas94
 
Ppt ooad ooad3unit
Ppt ooad ooad3unitPpt ooad ooad3unit
Ppt ooad ooad3unitramyalaksha
 
Presentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxPresentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxazida3
 
Final use case (1)
Final use case (1)Final use case (1)
Final use case (1)03028335403
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling Benazir Fathima
 
Understanding Stakeholder Needs
Understanding Stakeholder NeedsUnderstanding Stakeholder Needs
Understanding Stakeholder NeedsSandeep Ganji
 
StructureofUseCases.ppt
StructureofUseCases.pptStructureofUseCases.ppt
StructureofUseCases.pptssuser28dc54
 
How to run a great requirements workshop with Use Cases
How to run a great requirements workshop with Use CasesHow to run a great requirements workshop with Use Cases
How to run a great requirements workshop with Use CasesAndreas Hägglund
 
Analytic emperical Mehods
Analytic emperical MehodsAnalytic emperical Mehods
Analytic emperical MehodsM Surendar
 

Similar to Finding use case (20)

Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagrams
 
Use cases
Use casesUse cases
Use cases
 
Use Case Model with components in software.ppt
Use Case Model with components in software.pptUse Case Model with components in software.ppt
Use Case Model with components in software.ppt
 
System Analysis Fact Finding Methods
System Analysis Fact Finding MethodsSystem Analysis Fact Finding Methods
System Analysis Fact Finding Methods
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
 
Use case modeling
Use case modelingUse case modeling
Use case modeling
 
Refining The System Definition
Refining The System DefinitionRefining The System Definition
Refining The System Definition
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
 
use_case+use_case description.pptx
use_case+use_case description.pptxuse_case+use_case description.pptx
use_case+use_case description.pptx
 
Ppt ooad ooad3unit
Ppt ooad ooad3unitPpt ooad ooad3unit
Ppt ooad ooad3unit
 
Presentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxPresentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptx
 
Use case Diagram
Use case DiagramUse case Diagram
Use case Diagram
 
Lec-9.ppt
Lec-9.pptLec-9.ppt
Lec-9.ppt
 
Final use case (1)
Final use case (1)Final use case (1)
Final use case (1)
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling
 
05 use case
05 use case05 use case
05 use case
 
Understanding Stakeholder Needs
Understanding Stakeholder NeedsUnderstanding Stakeholder Needs
Understanding Stakeholder Needs
 
StructureofUseCases.ppt
StructureofUseCases.pptStructureofUseCases.ppt
StructureofUseCases.ppt
 
How to run a great requirements workshop with Use Cases
How to run a great requirements workshop with Use CasesHow to run a great requirements workshop with Use Cases
How to run a great requirements workshop with Use Cases
 
Analytic emperical Mehods
Analytic emperical MehodsAnalytic emperical Mehods
Analytic emperical Mehods
 

More from sang nguyen

AMM, How it works.pdf
AMM, How it works.pdfAMM, How it works.pdf
AMM, How it works.pdfsang nguyen
 
Distributed data management challenges
Distributed data management challengesDistributed data management challenges
Distributed data management challengessang nguyen
 
Reactive programming
Reactive programmingReactive programming
Reactive programmingsang nguyen
 
Spring from a to Z
Spring from  a to ZSpring from  a to Z
Spring from a to Zsang nguyen
 
Software - Information gathering
Software - Information gatheringSoftware - Information gathering
Software - Information gatheringsang nguyen
 
Business analysis-Software
Business analysis-SoftwareBusiness analysis-Software
Business analysis-Softwaresang nguyen
 
Alfresco overview EDM
Alfresco overview EDMAlfresco overview EDM
Alfresco overview EDMsang nguyen
 

More from sang nguyen (8)

AMM, How it works.pdf
AMM, How it works.pdfAMM, How it works.pdf
AMM, How it works.pdf
 
Distributed data management challenges
Distributed data management challengesDistributed data management challenges
Distributed data management challenges
 
Uml 2.x
Uml 2.xUml 2.x
Uml 2.x
 
Reactive programming
Reactive programmingReactive programming
Reactive programming
 
Spring from a to Z
Spring from  a to ZSpring from  a to Z
Spring from a to Z
 
Software - Information gathering
Software - Information gatheringSoftware - Information gathering
Software - Information gathering
 
Business analysis-Software
Business analysis-SoftwareBusiness analysis-Software
Business analysis-Software
 
Alfresco overview EDM
Alfresco overview EDMAlfresco overview EDM
Alfresco overview EDM
 

Recently uploaded

EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 

Recently uploaded (20)

EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 

Finding use case

  • 1. PHƯƠNG PHÁP TÌM KIẾM USE CASE Trình bày: Nguyễn Văn Sang Email : nvsang@gimasys.com
  • 2. Use Case 1. Vai trò của use case trong Project 2. Actor 3. Event List and Event Table 4. Proposed format of an event table 5. Getting to use cases 6. Shadow use cases
  • 3.
  • 4. 1. Actor 1. Actors are key to obtaining several artifacts in the project. Actors are usually thought of as human beings, but they also may be other systems, timers and clocks, or hardware devices. 2. To find the actors, ask the following questions. Who/what will be interested in the system? Who/what will want to change the data in the system? Who/what will want to interface with the system? Who/what will want information from the system?
  • 6. 2.Event List and Event Table Actor Definition Customer Place orders for products Supplier Supplies products to the company for resale Accounting system Gets accounting information from the system Shipping Clerk Coordinates the routing of fulfilled product orders
  • 7. 3.Proposed format of an event table • Xác định Actor thông qua cấu trúc sau: Subject+Verb +Object Subject is an Actor defined earlier in the process. Verb shows the action. Object is the focus of the action defined in the verb. • Ví dụ: CSGT lập biên bản vi phạm hành chính đối với người vi phạm
  • 8. 3.Proposed format of an event table Subject verd object Frequency Arrival pattern response Customer places order 1000/day Episodic Order is edited and save in the system. CSGT Lập Biên bản vi phạm Nhiều lần/ngay Biên bản được lưu vào hệ thống
  • 9. • Response là một trong những thành phần quan trọng của “Event table”, nó ảnh hưởng đến thiết kế và là trình sau này của hệt thống • when readdressing the event table, we make sure the table is grouped in actor order. • We take these natural groupings and write a short (one or two words) descriptive phrase for each, asking these questions. What do these events have in common? Do these events have the same ultimate goal? If so,what is it?
  • 11. 4.Getting to use cases • Finding the Pathways through the Use Case • We need to find the various pathways through each use case. • Primary • Alternate • Exception
  • 12. Use case Template User case name Two or three words User case description A short description User case Authors The authors of the use case Actors The actors involved in this use case Locations The locations that will perform this use case; Typically base on a geographical location but may be departments or divisions Status The stage that the use case is in: initial path-ways defined and completed Priority With 1 being the highest Assumptions What is assumed to be true, or false, about this use case Preconditions Facts that must be true before this use case and its internal pathways can be initiated: sometimes called the required system state for execution Postconditions Facts the must be true when use case ends; sometimes called the required system state upon completion Primary pathways The name of the primary pathway Alternate pathway Alternate pathways through the use case Exception pathway Exception pathways or error conditions
  • 13. Finding the Happy path User case Happy path Maintain orders A customer calls in to inquire about an order’s status.
  • 14. Finding the Alternate Pathways • An alternate pathway is a pathway that is still considered a good citizen pathway.
  • 15. Finding the Alternate Pathways Use case Alternate pathway Maintain orders - A customer calls in to change a product quantity for one order item on the order - A customer calls to cancel on order - A customer calls to add a new item to an order - A customer calls to delete an item from an order - A customer to change the shipping terms of an order - A customer buys an extended warranty on an item. - A customer calls to change the billing method.
  • 16. Finding the Exception pathways • An exception pathway is intended to capture an “unhappy” pathway.
  • 17. Finding the Exception pathways User case Happy path Maintain orders - A customer calls in to cancel an order that isn’t found in the system - A customer calls to add a warranty that is no longer valid for the time that the product has been owned - A customer calls to change order , and the product to be added is not found in the system.
  • 18. 5. Shadow use cases • Use cases are viewed form the eyes of the business, that is the use. • I call these shadow use cases because they are never given their due respect in most applications.
  • 19. 5. Shadow use cases The most common shadow use cases found across all application domains: 1. Security 2. Audit 3. Archiving 4. Architecture infrastructure