® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 3: Outlining Use Cases.

Slides:



Advertisements
Similar presentations
Writing Good Use Cases - Instructor Notes
Advertisements

OOAD – Dr. A. Alghamdi Mastering Object-Oriented Analysis and Design with UML Module 3: Requirements Overview Module 3 - Requirements Overview.
Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 1 Rational Rose 2000 Interaction Diagrams.
Use cases.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Conversation Form l One path through a use case that emphasizes interactions between an actor and the system l Can show optional and repeated actions l.
Uml and Use Cases CS 414, Software Engineering I Mark Ardis Rose-Hulman Institute January 9, 2003.
SwE 313 Case Study Registration System.
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
Use cases and requirement specification - 1 Use case diagrams 3 use cases System boundaries Remember: Use case diagramming is a tool, not the requirements.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Use Case description Updated: October 2014.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1 Interaction Diagrams.
Sept. 11, 2003CS WPI1 CS 509 Design of Software Systems Lecture #2 Thursday, Sept. 11, 2003.
Use Case Analysis – continued
Adding the Detail Filling in Use Case Templates. Use Case Template The use case diagram is important for visualizing a system and as a communication tool.
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 Diagrams – Functional Models Chapter 5. Objectives Understand the rules and style guidelines for activity diagrams. Understand the rules and.
REQUIREMENTS CAPTURE 1 ASU Course Registration System User Interface Specifification UI Elements Register for courses Use Case.
RUP Requirements RUP Artifacts and Deliverables
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
Requirements Management with Use Cases Module 6: Define the System Requirements Management with Use Cases Module 6: Define the System.
Object-Oriented Analysis - Instructor Notes
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
1 Objectives  Describe design constraints.  Identify methods of specifying functional requirements.  Describe techniques for writing and structuring.
SYS466: Analysis and Design Using OO Models
From Use Cases to Test Cases 1. A Tester’s Perspective  Without use cases testers will approach the system to be tested as a “black box”. “What, exactly,
1 IBM Software Group ® Mastering Requirements Management with Use Cases Module 10: Structure the Use-Case Model.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
1 Source: IBM Academic Program IBM Software Group ® Mastering Requirements Management with Use Cases Module 3: Introduction to Use-Case Modeling.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Use Cases 1. Last week  Introduction to software engineering  How is it different from traditional engineering?  Introduction to specification  Operational.
Requirements Artifacts Precursor to A & D. Objectives: Requirements Overview  Understand the basic Requirements concepts and how they affect Analysis.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
REQUIREMENTS CAPTURE 1 ASU Course Registration System Use-case Model Actor.
Requirements – Scenarios and Use Cases
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
Faculty of Computer & Information
1 IBM Software Group ® Mastering Object-Oriented Analysis and Design with UML 2.0 Module 6: Use-Case Analysis.
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 1: Introduction to Use-Case Modeling.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
Shanghai Jiao Tong University 上海交通大学软件工程中心 Object Oriented Analysis and Design Requirements Overview.
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.
Writing Good Use Cases Outlining Use Cases. Process of writing use cases Find actors Find use cases Outline a use case Detail a use case  Outline the.
CSC 131 Fall 2006 Lecture # 5 UML Use Cases. UML The UML is a graphical language for  specifying  visualizing  constructing  documenting the artifacts.
Use Case Model Use case diagram.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
Business Analysis with For PG MDI, Gurgaon Kamna Malik, Ph.D.
Lecture 4 :Use cases III (UC description) 1. Outline CT 1414 * Nouf Aljaffan2  Concept of Use Case Description  Levels of Use Case Description  Reading.
Use Case Model Use case diagram. Relevant Requirements Artifacts Use-Case Model Supplementary Specification Use-Case Specifications... Glossary Actors.
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.
1 IBM Software Group ® Essentials of Visual Modeling with UML 2.0 Module 5: Interaction Diagrams.
Essentials of Visual Modeling w/ UML Instructor Notes
Unit-3 Identifying use cases Object Analysis Classification
UML - Development Process 1 Software Development Process Using UML.
Use Case Model Use case description.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
Page 1  Copyright © 1997 by Rational Software Corporation Putting the UML to Work The ESU University wants to computerize their registration system –
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
 Week03 Jerry Kotuba SYST30009-Engineering Quality Software 1.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Chapter 6 유스케이스를 이용한 서비스 요구명세 Specification with Use Cases
Chapter 5 유스케이스 개요 Introduction to Use Cases
Recall The Team Skills Analyzing the Problem (with 5 steps)
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 diagram.
UML Use Case Diagrams.
Requirements Very High level specification of what system should do
Presentation transcript:

® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 3: Outlining Use Cases

2 Objectives  When you complete this module, you should be able to outline a use case

3 Process of writing use cases Find actors Find use cases Outline a use case Detail a use case  Outline the flow of events  Capture use-case scenarios  Collect additional requirements

4 Outline each use case Use Case Name Brief Description Basic Flow 1. First step 2. Second step 3. Third step Alternative Flows 1.Alternative flow 1 2.Alternative flow 2 3.Alternative flow 3 Structure the basic flow into steps Number and name the steps  An outline captures use case steps in short sentences, organized sequentially Identify alternative flows

5 Why outline use cases? DRAFT Use Case Too Small? Use-Case Size Too Big? Is it more than one use case? Outlining helps find alternative flows ? ? ?

6 Flows of events (basic and alternative)  A flow is a sequential set of steps  One basic flow  Successful scenario from start to finish  Many alternative flows  Regular variants  Odd cases  Exceptional (error) flows

7 Outline the flows of events  Basic flow  What event starts the use case?  How does the use case end?  How does the use case repeat some behavior?  Alternative flows  Are there optional situations in the use case?  What odd cases might happen?  What variants might happen?  What may go wrong?  What may not happen?  What kinds of resources can be blocked?

8 Step-by-step outline: Register for Courses Basic Flow 1.Student logs on. 2.Student chooses to create a schedule. 3.Student obtains course information. 4.Student selects courses. 5.Student submits schedule. 6.System displays completed schedule. Alternative Flows A1. Unidentified student. A2. Quit. A3. Cannot enroll. A4. Course Catalog System unavailable. Can we allow students to register if the Course Catalog is unavailable? A5. Course registration closed. What are other alternatives?

9 What is a use-case scenario? Flow Scenario  An instance of a use case  An ordered set of flows from the start of a use case to one of its end points Note: This diagram illustrates only some of the possible scenarios based on the flows.

10 Why capture use-case scenarios?  Help you identify, in concrete terms, what a system will do when a use case is performed  Make excellent test cases  Help with project planning  Useful for analysis and design

11 How to capture use-case scenarios  Capture scenarios in the Use-Case Specification in their own section  Give each scenario a name  List the name of each flow in the scenario  Place the flows in sequence  Example: Use Case: Register for Courses Scenario: Quit before registering Flows: Basic Flow, Quit

12 Outline: Register for Courses Basic Flow of Events 1.Student logs on. 2.Student chooses to create a schedule. 3.Student obtains course information. 4.Student selects courses. 5.Student submits schedule. 6.System displays completed schedule. Alternative Flows A1. Unidentified student. A2. Quit. A3. Cannot enroll. A4. Course Catalog System unavailable. A5. Course registration closed. … Scenarios 1.Register for courses: Basic Flow 2.Unidentified Student: Basic Flow, Unidentified Student 3.Quit before registering: Basic Flow, Quit … What are other scenarios?

13 Checkpoints for use cases Each use case is independent of the others No use cases have very similar behaviors or flows of events No part of the flow of events has already been modeled as another use case

14 Collect additional requirements  Collect system requirements that cannot be allocated to specific use cases in other requirements documents, such as Supplementary Specifications Supplementary Specification

15 Review  What is the basic flow?  What is an alternative flow?  What is a scenario?  Why do you capture use-case scenarios?  Where do you collect requirements other than use cases?

16 Exercise 3: Outlining use cases  In this exercise, you outline a use case