Use Cases Discuss the what and how of use cases: Basics Benefits

Slides:



Advertisements
Similar presentations
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Advertisements

9/10/2004Use Case Workshop 1 CSC480 Software Engineering Workshop 1 Requirements Modeling.
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.
Chapter 15 Design, Coding, and Testing. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Design Document The next step in the Software.
Use Case Analysis Chapter 6.
Use cases and requirement specification - 1 Use case diagrams 3 use cases System boundaries Remember: Use case diagramming is a tool, not the requirements.
Use Cases.
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.
RUP Requirements RUP Artifacts and Deliverables
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
CS499 Use Cases References From Alistair Cockburn Writing Effective Use Cases (Book) - Use Case.
Object-Oriented Analysis - Instructor Notes
-Nikhil Bhatia 28 th October What is RUP? Central Elements of RUP Project Lifecycle Phases Six Engineering Disciplines Three Supporting Disciplines.
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.
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F. George.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
1 Structuring Systems Requirements Use Case Description and Diagrams.
Behavior Modeling (based on Alistair Cockburn book) PA116 – L11 (c) Zdenko Staníček, Sept 2010.
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
CMSC 345 Use Cases. u Describes the system’s behavior under various conditions as the system responds to a request from one of the stakeholders, called.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
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.
Use Cases Discuss the what and how of use cases: Basics Examples Benefits Parts Stages Guidelines.
Class 11 Outline Business – Qs on artifact model assignment? – Qs on draft project models? Activities – Card Sorting – Use Cases.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
You will need to… Sort out your teams Know your assessment schedule Identify your personal project title Discover the core functionality Agree the shared.
Applied Software Project Management SOFTWARE TESTING Applied Software Project Management 1.
E- Patient Medical History System
Use Case Analysis Chapter 6.
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases
Using Use Case Diagrams
Chapter 4: Business Process and Functional Modeling, continued
CMPE 280 Web UI Design and Development August 29 Class Meeting
Use Case Modeling - II Lecture # 27.
ATM OO Design and Implementation Case Study
Systems Analysis and Design in a Changing World, 6th Edition
Recall The Team Skills Analyzing the Problem (with 5 steps)
Storyboarding and Game Design SBG, MBG620 Full Sail University
SCC P2P – Collaboration Made Easy Contract Management training
Requirements: Use Case Models and Narratives
Use Case Model Use case description.
PROJECT SCOPE MANAGEMENT
Designing and Debugging Batch and Interactive COBOL Programs
Introduction to the New SSA OnePoint Online Website
Concepts, Specifications, and Diagrams
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Systems Analysis and Design in a Changing World, 6th Edition
Adding and Editing Users
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Chapter 9 Use Cases.
Object Oriented Analysis and Design
Project Management Process Groups
Software Design Lecture : 15.
Use Case Model Use case diagram – Part 2.
Using Use Case Diagrams
Use Case Modeling.
PROJECT SCOPE MANAGEMENT
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Interaction Modeling Extracted from textbook:
Software Requirements
Engineering Quality Software
Object-Oriented Software Engineering
Chapter 5 Understanding Requirements.
Use Case Modeling Part of the unified modeling language (U M L)
CMPE/SE 131 Software Engineering February 16 Class Meeting
Extreme Programming.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
AICT5 – eProject Project Planning for ICT
UML Design for an Automated Registration System
Use cases Dr. X.
Presentation transcript:

Use Cases Discuss the what and how of use cases: Basics Benefits Example Parts Guidelines Stages Definitions

Use Cases: Basics Use Cases are living documents to be used continously in development to: Describe a work process Focus discussion about system actions Be the functional requirements for a system Document the design of a system Generate procedures for testing a system Write instructions, help and training materials for end users.

Use Cases: Basics Identify the function requirements (goals) that the system will need to perform Some functions cannot be accomplished in a system as it is installed: A programmer will need to customize the system Example: you may need to build a new report or add a new field to capture additional data. Document functional requirements with Use Cases

Use Cases: Basics A use case describes how to achieve a specific goal, or function, using the system. Helps you understand the functions that the system supports Should describe the system behavior Should not list all the requirements Written in plain language, with no technical jargon IHRIS includes Use Cases for each of the components of the iHRIS Suite.

Use Cases: Benefits One of the most difficult aspects of system development is figuring out exactly what to build. There is a gap between the people who understand the problem and the people who understand how to build the solution. Use Cases bridge that gap. Use Cases describe functional requirements in a way that can be understood by the stakeholders and users of the system and by the developers of the system.

Use Cases: Benefits Ue cases should be co-written by stakeholders, users and developers. Ensures that the system includes the functions that are truly important to the people who will be using it. Use cases should focus on the goals that users want to achieve.

Use Cases: Benefits Focus on action-oriented goals to: defines the scope of the system eliminates unnecessary requirements reduces costs and development time

Use Cases: Benefits Several related use cases may be organized into modules, called packages. Development of each module can then be prioritized and scheduled Plan an iterative path for development: Core functions can be developed first Later by lower priority features are added Core system can be used even while new functions are being developed

Use Case: Example 1A. Use Case Number: 9 1B. Use Case Title: Log in 2. Level: User-level 3. Primary Actor: Any user 4. Context of Use: The user logs in to authenticate his or her role in the system and to perform a task in the system. 5. Preconditions: A user account has been created for the user. 6. Success Guarantee: The user can successfully access the system and perform actions appropriate for his or her role. 7. Main Success Scenario (MSS): 1. The user connects to the system. 2. The user enters his/her username and password. 3. The system validates the username and password. 4. The system determines the user’s role. 5. The system displays a list of actions the user can perform based on the user’s role.

Use Case: Example 8. Extensions: 3a. The system determines that the password is incorrect for the username entered. 1. The system prompts the user to re-enter the password. 3a1. The system determines that the re-entered password is incorrect. 2. The system provides the option for the user to retrieve a forgotten password. 3b. The system determines that the username does not match a username for any account. 1. The system displays an error message. 4a. The system determines that the user has no role assigned in the system. 1. The system does not allow the user to access the system. 9. Notes/ Issues/ Reviewer Comments: This use case is the same for iHRIS Manage, Qualify and Plan. Completed by: Use case writer Date: October 25, 2008 Reviewed by: Use case reviewer Date: November 4, 2008

Use Cases: Parts Minimal parts of a use case are: A goal to achieve The primary actor identified by a role in interacting with the system A set of action steps, the main success scenario Preconditions that must be true to start the scenario A triggering event that starts the scenario An end condition if the scenario is successfully achieved, called the success guarantee A possible set of extensions, or alternate scenarios, leading toward either the success or failure of the goal

Use Case: Parts 1A. Use Case Number: 1B. Use Case Title: Assign a number to the use case for reference It is helpful to number use cases in order of implementation or priority Numbers can aslo indicate module 1B. Use Case Title: Assign a title to the use case, Generally a shortened form of the goal in action-verb-noun format.

Use Case: Parts 2. Level: 3. Primary Actor: user-level for a use case that describes one complete activity in the system subfunction for a use case that depends on a user-level use case but is too long to include in the user-level use case. sumary sequences multiple user goals 3. Primary Actor: The role of the user performing use case List of roles should be set before hand

Use Case: Parts 4. Brief Description/Goal: 5. Preconditions: This statement describes the function that the primary actor wants to accomplish 5. Preconditions: List any preconditions for the use case. Preconditions specify what the system will ensure is true before letting the use case start. Generally, a precondition indicates that some other use case has been run to set it up 6. Success Guarantee:

Use Case: Parts 7. Main Success Scenario (MSS): 8. Extensions: The action steps of a typical scenario in which the goal is delivered. The first step is the trigger that initiates the use case Ideally, there should be 3-12 steps; number each step 8. Extensions: List the conditions that may cause the system behavior to branch from the steps that occur in the Main Success Scenario 9. Notes/Issues/Reviewer Comments: Good place to note any issues that have arisen regarding the use case or its implementation in the system

Use Case: Guidelines Guidelines for developing Use Cases List every possible human and non-human primary actor Brainstorm and exhaustively list all possible user goals for each actor. Write a short description of use case behavior for each goal, the use case brief, mentioning only the most significant activity and failures. Write user-level use cases for each goal using the use case template above. Use the Actors and Goals Templates to organize before writing full use cases Prioritize and assign goals to development teams and software releases.

Use Case: Guidelines Write Summary-Level Use Cases Summary use cases tie together, and thus refer to, a number of user- level use cases but do not provide function requirements There are typically only four or five summary-level use cases for a system. Provide a helpful tool for quickly communicating with executives, stakeholders and customers the broad scope of what the system will do.

Use Cases: Stages Use Cases guide interative software development Writing use cases is also an iterative process Stages of a Use Case: 1. Brief: The use case is summarized in brief narrative. The Description and Main Success Scenario fields are completed. Generate the Actors & Goals list. 2. Initial: The 1st draft is written. Steps described only briefly. Used for grouping and prioritizing

Use Cases: Stages Stages of a Use Case (continued) : 3. Full: The 2nd draft of the use case is written. Includes all pre-conditions Detailed Steps Extensions and Explanations Can be used for development 4. Tested: A testing procedure is developed from use cases. Tested against developed product. Use Cases updated based on testing 5. Documented: Help text is generated from the use case Help tested against developed product. Use Cases updated slightly

Use Cases: Stages Stages of a Use Case (continued) : 6. Released: The Use Case is part of a release version of the software 7. Updated: A Use Case is revisde after a release

Use Cases: Stages Tips Once the Full version has been complete, document and date any changes in the Notes field Creating a revision history for the use case. New features of use cases in development should be added to the Project Control List