Extending the Requirements Model - techniques for detailing use cases

Slides:



Advertisements
Similar presentations
Chapter 3 Requirements Analysis, Negotiation and Modeling Part 3 Dr. Eman Al-Maghary Requirements Engineering.
Advertisements

Chapter 4: Requirements Engineering
Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
Use Case & Use Case Diagram
1COM6030 Systems Analysis and Design © University of Sheffield 2005 COM 6030 Software Analysis and Design Lecture 7 – More on use cases and activity diagrams.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
TC 1, 4, 6, 9 State Patrol Ticket System 1
CPSC 333: Foundations of Software EngineeringJ. Denzinger Small Test: Bank account manager System has to run on an automated teller machine. User must.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
CS3773 Software Engineering Lecture 03 UML Use Cases.
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Interaction Diagrams Activity Diagram State Machine Diagram
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
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,
Systems Analysis and Design in a Changing World, 6th Edition
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH 1 Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 More on use cases System sequence.
1COM6030 Systems Analysis and Design © University of Sheffield 2005 COM 6030 Software Analysis and Design Lecture 6 - Use cases and activity diagrams Dr.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
Chapter 3 Use Cases.
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
Systems Analysis and Design in a Changing World, 6th Edition
Software Waterfall Life Cycle Requirements Construction Design Testing Delivery and Installation Operations and Maintenance Concept Exploration Prototype.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Systems Analysis and Design in a Changing World, 6th Edition
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 20. Review Software Requirements Requirements Engineering Process.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Faculty of Computer & Information
1 SYS366 Business Use Case Descriptions. 2 Today Identifying Business Use Cases Documenting Business Use Cases.
Systems Analysis and Design in a Changing World, 6th Edition
Information Systems Engineering Interaction Diagrams: Sequence Diagram Collbortion Diagram.
1 Chapter 5 Modeling System Requirements Finding the Use Cases Page
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 5 INTRODUCTION TO SYSTEMS ANALYSIS AND DESIGN: AN AGILE, ITERATIVE APPROACH CHAPTER.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
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.
Information Systems Engineering Activity Diagram 1.
1 LAB What is Collaboration diagram? 4 Collaboration diagrams illustrate the interaction between the objects, using static spatial structure. 4.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
Understanding Requirements
Accounting Information Systems: A Business Process Approach Chapter Three: Documenting Accounting Systems.
1 SYS366 Business Use Cases. 2 Today Business Use Cases Identifying Stakeholders & Actors.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
Jan Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
1 Case Study and Use Cases for Case Study Lecture # 28.
Chapter 4: Business Process and Functional Modeling, continued
Paul Ammann & Jeff Offutt
Systems Analysis and Design in a Changing World, 6th Edition
Use Case Driven Analysis
Storyboarding and Game Design SBG, MBG620 Full Sail University
Dynamic Modeling of Banking System Case Study - I
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
Use Case Modeling - techniques for detailing use cases
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Systems Analysis and Design in a Changing World, 6th Edition
Paul Ammann & Jeff Offutt
Use Cases & Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Information Systems Engineering
Accounting Information Systems: A Business Process Approach
Presentation transcript:

Extending the Requirements Model - techniques for detailing use cases Use Case Descriptions - Chapter 5 pp: 119-124 Activity Diagrams - Chapter 5 pp: 125-126; and Chapter 2 pp 57-60

Where are we? Analysis Chapters Ch 2 Investigating System Requirements Use Cases Ch 4 Domain Modeling Ch 5 Extending the Requirements Model

Outline Describing Use Cases in more detail Use Case Descriptions (Ch 5) Activity Diagrams (Ch5 & Ch2)

Use Case Description Describes the details for a given use case Various levels of details Brief (Ch 3) Intermediate Fully developed ATM System Withdraw cash Use Case Description (brief version) Actor inserts a bank card and PIN, and the system sends the account number and PIN number to the bank for verification. Actor enters a withdrawal amount, and the system requests the bank’s authorization, creates a transaction record, and dispensing cash.

Use Case Description – “Brief” Create Customer account Customer Use Case Description “Brief”

Use Case Description – “Fully Developed” Create Customer account Customer

Use Case Description – “Fully Developed” Use case name – e.g. Create Customer Account Scenario – unique path through this use case (Create Online Customer Account) Triggering event – external, temporal, state Brief description – summary of Flow of Activities Actors – actual user(s) Related use cases – includes or extends Stakeholders – vested interest Preconditions – any object/system that must be available before the use case Post conditions – objects/associations created/updated during the use case Flow of activities – actor and system swimlanes showing interactions Exception conditions – what prevents the use case from completing

UML's Activity Diagram

UML Activity Diagram a graphical representation of procedural flow Activities People, System(s) Flow Used to model 2 things Entire Business Processes or Workflows (Ch 2) Can be use for Business Process Modeling (BPM) A Single Use Case (Ch 5)

Activity Diagram – Symbols Synchronization Bar Used for concurrency Swimlane Join Split/Fork contains activities performed by a single agent (actor, organizational unit) Output cannot execute until all inflows have been received Loop Starting Activity Ending Activity For each item in … End for each item Decision Merge [guard] Activity/Action Transition/Activity Edge

Activity Diagram – Issue a Quote Use this notation for decisions - i.e. include the [guards] [guard]

Forks, Joins, and Decisions Bad waiting for 4 activities to finish Good Merge!

Practice: Activity Diagram & Use Case Description Use Case Scenario for “Creating a New Sale for a Contractor (on credit)”. Quality Building Supply has two kinds of customers: contractors and the general public. Sales to each are slightly different. A contractor buys materials by taking them to the checkout desk for contractors. The clerk enters the contractor's name into the system. The system displays the contractor's information, including his/her current credit standing. The clerk then opens up a new ticket (sale) for the contractor. Next, the clerk scans in each item to be purchased. The system finds the price of the item and adds the item to the ticket. At the end of the purchase, the clerk indicates the end of the sale. The system compares the total amount against the contractor’s current credit limit, and if it is acceptable, finalizes the sale. The system creates an electronic ticket for the items, and the contractor’s credit limit is reduced by the amount of the sale.

Practice: Activity Diagram

Practice: Use Case Description Use case name Create a New Sale Scenario Creating a new sale for contractors (on credit) Triggering event Contractor wants to purchase items Brief description Contractor bring items to checkout desk. Clerk validates his account and credit limit. Clerk scan items. System looks up price, records items, and compares total to credit limit. The system creates a ticket with all items and reduces the credit limit. A ticket is printed upon request. Actors Clerk Related use cases None: includes or extends Stakeholders Sales clerk, Sale department, Accounting department Preconditions Account must exist; Inventory items must exist Post conditions Sale is created, Sale line items are created and connected to the sale. Account is updated, Inventory is reduced Flow of activities Actor System Clerk enters customer name Clerk scans items Clerk indicates end of the sale If contractor wants receipt, clerk requests receipt 1.1 System validates account 2.1 System creates a Sale 2.2 System looks up item 2.3 System adds item to Sale 3.1 System calculates total amount 3.2 System reduces credit limit 4.1 System prints receipt Exception conditions 1.1 If account is out of balance, initiate "Create a New Cash Sale" use cases 2.2 If item is not found, clerk call manager and manually enter item information 3.1 If amount is greater than credit limit, initiate "Create a New Cash Sale" use case