Capturing and Exploring Requirements with Use Cases and UML Models

Slides:



Advertisements
Similar presentations
Requirements Elicitation and Use Case Diagrams
Advertisements

Use-Cases.
Use Case Diagrams Damian Gordon.
Use Case & Use Case Diagram
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Business Analysis & Data Design ITEC-630 Spring 2008
WEST Presented By 3s. Introduction Project Overview Project Overview Use Case Diagram Use Case Diagram Domain Model Diagram Domain Model Diagram UI for.
Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation Requirements Functional requirements  Use-cases.
Extending the Requirements Model - techniques for detailing use cases
Information System Engineering
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
SwE 313 Case Study Registration System.
Robustness Analysis Dr. Neal CIS 480. Outline What is robustness analysis? Key roles in robustness analysis Object types found in discovery Diagramming.
WEEK 4 Material Lecture 4a (Wed.). Use Cases/Actors o What is a use case ? l A sequence of actions performed by a system that yields an observable result.
1 SYSTEMS DESIGN Pertemuan 13 s.d 20 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
UML exam advice. Minimal, yet sufficient UML course 80% of modeling can be done with 20% of the UML. Which 20% was that again? We’re supposed to be “Use.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Chapter 3 Object-Oriented Analysis of Library Management System(LMS)
Quiz 1. Who is the guru of Extreme Programming?
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
Chapter 3 Use Cases.
1 © 2005 course technology University Of Palestine Chapter 6 Storyboarding the User’s Experience.
1 Object-Oriented Modeling Using UML (2) CS 3331 Fall 2009.
Intro: Use Case and Use Case Diagram Documentation.
1 CMPT 275 Phase: Design. Janice Regan, Map of design phase DESIGN HIGH LEVEL DESIGN Modularization User Interface Module Interfaces Data Persistance.
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis Activity (Identifying Objects, Scenarios) Janice Regan,
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
© 2005 course technology1 1 1 University Of Palestine UML for The IT Business Analyst A practical guide to Object Oriented Requirement Gathering Hoard.
Requirements Specification for Lab3 COP4331 and EEL4884 OO Processes for Software Development © Dr. David A. Workman School of Computer Science University.
Software Requirements (Advanced Topics) “Walking on water and developing software from a specification are easy if both are frozen.” --Edward V Berard.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 20. Review Software Requirements Requirements Engineering Process.
Requirements Documentation CSCI 5801: Software Engineering.
Submitted By: Memon Khurshed (Group Leader) Hamed Abdollahpur
Faculty of Computer & Information
Observing Users (finishing up) CS352. Announcements, Activity Notice upcoming due dates (web page) Discussion: –Did your observations have enough detail.
Requirements Analysis and Design Engineering Southern Methodist University CSE 7313.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
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.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Capturing Requirements with Use Cases
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
1 High Level Design Phase Refining Use Cases User Interface Information.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
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.
Understanding Requirements
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.
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
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.
Business Processes A business process describes a set of activities that are necessary to complete a response to a stimulus applied to an organization.
1 Case Study and Use Cases for Case Study Lecture # 28.
Observing Users (finishing up)
Systems Analysis and Design in a Changing World, Fourth Edition
Using Use Case Diagrams
System Sequence Diagrams and Operation Contracts
Object-Oriented Analysis and Design
UML Use Case Diagrams.
Use Case Modeling - techniques for detailing use cases
Concepts, Specifications, and Diagrams
Unified Modeling Language
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Using Use Case Diagrams
Use Case Document Example
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Observing Users (finishing up)
Presentation transcript:

Capturing and Exploring Requirements with Use Cases and UML Models Eddie Burris UMKC

Writing Use Cases–Motivation Writing use cases supports requirements activities: Method of recording functional requirements. Readable by end users but also detailed enough for programmers to implement and testers to write test cases. Systematic and semi-formal representation helps ensure requirements are complete and well understood.

Visual Modeling–Motivation Models are visual. They are potentially a more efficient and effective form of communication than prose. Models are more precise. Hard to recognize missing elements in written forms of requirements. With a model, missing elements are more noticeable. Models can represent ideas from different perspectives. When to model? During requirements, design, and post-implementation.

Use Case—Definition A use case is a narrative description of a goal-oriented interaction between the system under development and an external agent Includes (the what): User (Actor in Use Case Parlance) Goal Interaction Excludes (the how): User Interface Detail Implementation Concerns

Use Case Template Title: Actors: Preconditions: Postconditions: Basic Flow / Main Success Scenario Alternate Flow / Extensions Open Issues

Example Title: Search Web with suggested key words (Google Suggest) Actors: Web User Preconditions: Web user is at the search page Basic Flow User begins to enter search phrase As characters of search phrase are typed, the system responds with suggested search phrases that start with characters entered The system enters the highest ranking suggested search phrase into the search box where the user is typing User scrolls to desired suggested phrase User initiates search System responds with search results that match search phrase Alternate Flows 2a. There are no high ranking suggested search phrases for the characters the user has entered 1. The system gives no suggested search phrases 2. The user enters the remaining characters in the search phrase and control returns to step 5 in basic flow 4a. User decides to accept suggested search phrase in search box 1. User initiates search with suggested search phrase currently in search box 4b. User finishes entering original search phrase but doesn’t want to take system’s suggestion 1. User hits backspace to erase remaining suggested characters in search box Open Issues 1. How to decide the order or ranking of suggested search phrases.

System Under Development UML Use Case Diagrams Newspaper Web Site Post article Journalist Reader Authenticate user Find and read article <<include>> System Under Development Use Case Actor Generic Form Example

UML Diagram Types Static Dynamic Class Diagrams State Machine Diagrams Activity Diagrams Sequence Diagrams

UML Class Diagrams Generic Form Example Class Name Attributes Relationship Class Name Attributes Operations Generic Form CourseOffering Student 10..30 * is enrolled in semester Course courseTitle 1 Example

UML State Machine Diagram event [guard] action Initial State Final State Empty Ready for Business stock Ready to Dispense [credit > purchase price] [out of stock] enter money / update credit select beverage / reduce credit && dispense beverage && reduce stock Generic Form Example

Another State Machine Example Waiting for Connection do/play soothing music Disconnected do/Attempt connection Connected Connection Established after (1 min) Introducing Application entry/audio intro after (2 min) / reassure user [! disconnected] / announce connection Waiting for Announceable building do/look for next valid building Lost Connection Established Newly Disconnected [disconnected] / announce disconnection Announcing Building entry/ announce building announceable building Building announcement order closest building that hasn’t already been announced. After all buildings within a certain range have been announced you can reannounce a building if it has been 12 minutes since it was last announced or it has gone out of range and back into range since it was last announced. This was used to explore an existing use case.

UML Activity Diagram Generic Form ... ... [cond] [cond] Activity Transition Branch Merge Generic Form

UML Activity Diagram Example [User doesn’t have authority to access web page] User Requests Web Page Show Web Page [else] [Web page requires authorization] Prompt for ID and password User enters ID and password [Invalid ID and/or password] [Valid ID and password] Issue “not authorized” Message [User has authority to access web page] [Session established] A junction point can be used to merge or split transitions. [Web page doesn’t require authorization] Predefined condition [else] evaluates to true if none of the other branch conditions evaluate to true. Branch conditions may be placed on a state as an alternative to adding a branch diamond. Example

The End