LECTURE 3 USE CASE DESCRIPTION. Use Cases grouped into system modules Note: Same actor interacts with different modules USE CASE DIAGRAM OF THE CUSTOMER.

Slides:



Advertisements
Similar presentations
Week 2 The Object-Oriented Approach to Requirements
Advertisements

Requirements Diagrams With UML Models
Use-Cases.
1Spring 2005 Specification and Analysis of Information Systems Specifying Requirements with Use Case Diagrams Part II.
IT Requirements Capture Process. Motivation for this seminar Discovering system requirements is hard. Formally testing use case conformance is hard. We.
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
SYS366 The Last Stage in Analysis: System Use Case Descriptions created through the Use Case Authoring Process.
Object-Oriented Analysis and Design
Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation Requirements Functional requirements  Use-cases.
Use cases.
Information System Engineering
1 Review Visual System Modeling Tools Todd Bacastow Penn State University Geospatial System Analysis & Design.
Objectives Detailed Object-Oriented Requirements Definitions
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Drawing System Sequence Diagrams
Lecture 12: Chapter 22 Topics: UML (Contd.) –Relationship Structural Behavioral –Diagram Structural Behavioral.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” - may be of.
Fall 2009ACS-3913 Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Use Case description Updated: October 2014.
IMS1805 Systems Analysis Topic 3: Doing Analysis (continued from previous weeks)
A use case describes one “case” of how a user can use the system.
Functional Modeling Chapter 6.
Use Case Modeling. Kendall & Kendall© 2005 Pearson Prentice Hall18-2 Commonly Used UML Diagrams The most commonly used UML diagrams are: – Use case diagram,
Software engineering Olli Alm Lecture 2: requirements, modelling & representation.
Detailed Object-Oriented Requirements Definitions
Use Case Analysis – continued
Object-Oriented Analysis and Design
TK2023 Object-Oriented Software Engineering CHAPTER 6 SYSTEM SEQUENCE DIAGRAMS.
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
Data Flow Diagrams.
ZEIT2301 Design of Information Systems Functional Design: Use Cases School of Engineering and Information Technology Dr Kathryn Merrick.
Intro: Use Case and Use Case Diagram Documentation.
Interaction Modeling. Overview The class model describes the objects in a system and their relationships, the state model describes the life cycles of.
Objectives Detailed Object-Oriented Requirements Definitions
Chapter 6 Use Cases. Use Cases: –Text stories Some “actor” using system to achieve a goal –Used to discover and record requirements –Serve as input to.
UML-1 3. Capturing Requirements and Use Case Model.
UML-1 8. Capturing Requirements and Use Case Model.
Drawing System Sequence Diagrams
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
 Relate Use Cases to  MVC and Application Architecture  CRC  Recap distinctions : Language, Process, Tool  Detail a Use Case  Elements of a Use Case.
COMP-350 Object-Oriented Analysis and Design Drawing System Sequence Diagrams Reference: Larman, Chapter 9.
Lecture 4 :Use cases III (UC description) 1. Outline CT 1414 * Nouf Aljaffan2  Concept of Use Case Description  Levels of Use Case Description  Reading.
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
System Sequence Diagram Chandan Rupakheti & Steve Chenoweth Week 5-3a.
The College Of Applied Studies And Community Services Lecture 3 :Use cases II (UC description) Systems Analysis & Design Instructor: Nouf Aljaffan CT 1414.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
IntellAgile Copyright © 2002 Craig Larman. All rights reserved. Writing Use Cases: Requirements in Context.
UML - Development Process 1 Software Development Process Using UML.
Use Case Model Use case description.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
1 More About UML Todd Bacastow Penn State University Geospatial System Analysis & Design.
Slide 1 Project team 1. gathers requirements from the users (Ch. 4) 2. models the overall business process using __________ 3. identifies _________ using.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
Use Case Diagrams A Detailed Description. Use Case Diagrams Use case diagrams describe relationships between users and use cases A use case is a (usually.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
System Sequence Diagrams and Operation Contracts
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
Use Case Model Use case description.
Unified Modeling Language
Chapter 9 Use Cases.
Object Oriented Analysis and Design
INFS 6225 Object Oriented Systems Analysis & Design
Use Case Model Use case diagram – Part 2.
Engineering Quality Software
Object-Oriented Software Engineering
Use cases Dr. X.
Presentation transcript:

LECTURE 3 USE CASE DESCRIPTION

Use Cases grouped into system modules Note: Same actor interacts with different modules USE CASE DIAGRAM OF THE CUSTOMER SUPPORT SYSTEM 2

USE CASE DESCRIPTION Complements Use Case Diagram A breakdown of a single use case (e.g., sequence of steps included in the function “Look up item availability”); process logic included In contrast to Use Case Diagram, Use Case Description captures variations of a Use Case  Example: “Create new order” can be done via phone+clerk and via Internet ordering – 2 scenarios 3

LEVEL OF USE CASE DESCRIPTION Three levels of details:  UC* Brief description  Summary of what system does in response to actor’s actions  UC Intermediate description  Shows steps in use case, if-then  UC Full description  Includes Brief description, expands intermediate description, shows scenarios * UC=Use Case 4

BRIEF DESCRIPTION OF USE CASE 6 Same description that is usually captured in initial Use Case Diagrams

INTERMEDIATE USE CASE DESCRIPTION 7 Telephone Order Scenario for Create New Order Use Case

FULL USE CASE DESCRIPTION Shows steps (“Flow of Events”) broken down to the actor and the system side – useful! 8

8 Telephone Order Scenario for Create New Order Use Case FULL USE CASE DESCRIPTION

9 Telephone Order Scenario for Create New Order Use Case FULL USE CASE DESCRIPTION

10 Telephone Order Scenario for Create New Order Use Case FULL USE CASE DESCRIPTION

USE-CASES – COMMON MISTAKES Complex diagram No system No actor Too many user interface details  “User types ID and password, clicks OK or hits Enter” Very low goal details  User provides name  User provides address  User provides telephone number  … 11

WRITING USE CASE DESCRIPTIONS 1.Select a use case 2.Write abbreviated full description (Use case name, Scenario (if any), Business Event, Actors, Flow of steps, Exception conditions) 3.For figuring Flow of steps, - Keep in mind general system model: Input-Processing-Output - Steps should be at nearly the same level of abstraction (each makes nearly same progress toward use case completion) 4.For figuring exception conditions, focus on if-then logic. 12

COMBINING PROCESSES Number Limit:  The diagram should have between 3 to 10 base use-case. No more than 15 use cases (base + included + extending). Abstraction:  All use-cases should be in similar abstraction levels. Size:  Use cases should be described in half a page or more. Interaction:  Use-cases which are carried out as part of the same interaction. 13

DIVIDING PROCESSES Size:  If a use-cases takes more than a page, consider include/extend Weak dependency:  If the dependency between two parts of a use-case is weak, they should be divided. 14

MORE GUIDELINES Factor out common usages that are required by multiple use cases  If the usage is required use >  If the base use case is complete and the usage may be optional, consider use > A use case diagram should:  contain only use cases at the same level of abstraction  include only actors who are required 15

EXAMPLE 1 BUY PRODUCT 16

EXAMPLE 2 Use Case Name: Release a Vehicle (to a Customer) Summary: A customer arrives to acquire the vehicle and depart for desired destination. The vehicle reservation contract is signed and the vehicle is released to the customer. Actors: Front-Desk Clerk, Customer 17

EXAMPLE 2 18