Requirements Functional requirements  Use-cases

Slides:



Advertisements
Similar presentations
ITSF STORE BUSINESS SOLUTION PRESENTATION. STORE MODULE INCLUDES: Material Management Purchasing Components Handling Shipments Receiving of parts Store.
Advertisements

Chapter 11 Designing the User Interface
09/04/2015Unit 2 (b) Back-Office processes Unit 2 Assessment Criteria (b) 10 marks.
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Karolina Muszyńska Based on:
MIS 325 PSCJ. 2  Business processes can be quite complex  Process model: any abstract representation of a process  Process-modeling tools provide a.
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.
Use-case Modeling.
Systems Analysis and Design in a Changing World, Fourth Edition
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario 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.
Documenting Requirements using Use Case Diagrams
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Copyright ©2004 Cezary Z Janikow 1 Use Cases n Within Requirements discipline/workflow n Verbal descriptions of important functional (behavioral, transactional,
1 SYSTEMS DESIGN Pertemuan 13 s.d 20 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
Use Case Modeling. Kendall & Kendall© 2005 Pearson Prentice Hall18-2 Commonly Used UML Diagrams The most commonly used UML diagrams are: – Use case diagram,
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.
TK2023 Object-Oriented Software Engineering CHAPTER 6 SYSTEM SEQUENCE DIAGRAMS.
Chapter 7: The Object-Oriented Approach to Requirements
RUP Requirements RUP Artifacts and Deliverables
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 © 2005 course technology University Of Palestine Chapter 6 Storyboarding the User’s Experience.
1 Objectives  Describe design constraints.  Identify methods of specifying functional requirements.  Describe techniques for writing and structuring.
Intro: Use Case and Use Case Diagram Documentation.
4 2009/10 Object Oriented Technology 1 Topic 4: The Object-Oriented Approach to Requirements Adopted from: Ch.7 The Object-Oriented Approach to Requirements.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
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.
© 2005 course technology1 1 1 University Of Palestine UML for The IT Business Analyst A practical guide to Object Oriented Requirement Gathering Hoard.
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
Review ♦ System sequence diagram ♦ Domain model
Payroll System Bank System Any bank(s) to which direct deposit transactions are sent. Employee A person that works for the company that owns and operates.
OOSE Use Case. Requirement Functional: –Features, capabilities, and security Non Functional: –Usability: Human factors, help, and documentation –Reliability:
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
Requirements Capture. Four Steps of requirements capture List candidate requirements Understand system context Capture functional requirements Capture.
UML-1 3. Capturing Requirements and Use Case Model.
Chapter 9 Applying UML and Patterns -Craig Larman
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
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.
Systems Analysis and Design in a Changing World, 6th Edition
1 Capturing Requirements As Use Cases To be discussed –Artifacts created in the requirements workflow –Workers participating in the requirements workflow.
1 Capturing Requirements As Use Cases To be discussed –Artifacts created in the requirements workflow –Workers participating in the requirements workflow.
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.
1 Modeling System Requirements with Use Cases. 2 Why Do We Need Use Cases? Primary challenge in a system design process –ability to elicit correct and.
1 Chapter 5 Modeling System Requirements Finding the Use Cases Page
Phase 6 Start: Saturday14 April End: Saturday 21 April
Systems Analysis and Design in a Changing World, Fourth Edition
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
PRESENTATION ON USE CASE. Use Case Modeling Use case diagrams describe what a system does from the standpoint of an external observer. The emphasis is.
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.
USE CASE Pertemuan 7 Matakuliah: Konsep object-oriented Tahun: 2009.
UML - Development Process 1 Software Development Process Using UML.
 System Sequence Diagrams Sheridan SYST Engineering Quality Systems 11.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Requirements. Outline Definition Requirements Process Requirements Documentation Next Steps 1.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
Jan Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
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.
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.
Elaboration popo.
UML Use Case Diagrams.
Use Case Document Example
Object-Oriented Software Engineering
Use cases Dr. X.
Presentation transcript:

Requirements Functional requirements  Use-cases Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation

Requirement specification A requirement specification can be made up of the following parts: The functionality of the IT system expressed as use-cases The data that the IT system have to register Non-functional requirements Requirements regarding usability, reliability, performance, supportability Features not expressed as use-cases – like a report generation We now concentrate on bullet 1. – use-cases

Requirement process Step 1: Identification of tasks and workflows, identifying use cases through the development of event tables (AS IS and TO BE) and evaluation through prototyping Step 2: Development of use case diagram Step 3: Description of the use cases Step 4: Developing a domain model showing classes (concepts), attributes, and associations between them Step 5: Development of system sequence diagrams and operation contracts

What is a use case? A use-case describes a working procedure for a specific actor/user of an IT system. A use-case is used to show the interaction between actor and IT system Functional requirements as use-cases outline, in what way the IT system are going to support the user

Workflows The company's task and the order they are processed in are the workflow Some workflows are more critical than others, and it’s the critical that are in focus In a company selling product to customers, it is interesting to know when the orders are ready for delivery and when the customer had paid.

A customer-order workflow in UML

Description of workflow Description of customer-order workflow (scenario) Our shop assistant register the wanted goods and customer information on an order note. The order note is handed to the stock. An invoice is send to the customer. When our stock employee recieves the order note, he finds the goods, packs them and makes them ready for shipping. Every morning the carrier comes and collects the packages, deliver them to the customers who sign a reciept. A few days later the bookkeeping recieves payment. The bookkeeping notes that the payment period have been met. Register order Shop assistant Pack order Stock employee Deliver order Carrier Recieve payment Accountant

A customer-order workflow with actors

Find use cases Two approaches: We have chosen to use an event table Actor and tasks Events and use cases We have chosen to use an event table Have all use cases been found? All those relating to the management of the business such as a customer relationship - both "happy days" and cancellations All those who are a condition for the business to run Could be that inventories are recorded and updated Handling of security, etc. Does the use-case provides an observable value? Coffee break test! Management test

Event table TO BE, Customer – order business Actor Use case Steps in use case Customer places an order by phone Shop assistant Register order Register that wanted products bought Register customer information Save the order Send out order form and invoice Warehouse receives the order Employee Stock Pack order Choose the order from list of order Register that a product is packed Write down stock Register that the entire order is packed Order prepared Carrier Deliver order Print the waybill with the order to be delivered Register an order has been delivered Customer pays Accountant Register payment Display the Notification that the amount is paid Register the order is completed Time for payment exceeded System Send out reminder Compare payment deadline with the current date Automatically sends a reminder if payment is late

Good or Bad Use-cases? Criteria: Completed; goal fulfilled; coffee break Small create, read, update and delete tasks are gathered in one description (CRUD) Check: Are all tasks included? Are all actor tasks described? Are critical tasks included? Can all data be created, read, updated and deleted (CRUD)? Good or bad? Administration of books Register the title of a book Loan of book Update reservation Delete reservation

What is an actor? An actor is something with behaviour that interacts with the IT system: Person identified as a user role, e.g. cashier, salesman, stock employee Another computer system A device e.g. a temperature sensor Primary actor: Has user goals fulfilled through use-case

Use case diagram Use cases from the event table is displayed in a UML use case diagram Use case diagram is a graphic model of the system's functionality and communication with the stakeholders includes: Use cases Actors Associations between use cases and the actor(s) who interact with the use case delimitation

Use case diagram for customer - order Small use cases can be assembled in CreateReadUpdateDelete (CRUD) use-cases Lets make the diagram in UMLet

Description formats for use cases Overall textual descriptions in a short summarized form (customer-facing) Brief: textual description of a happy days scenario Casual: variations of happy days scenario Detailed descriptions of the "expanded" form - fully dressed The steps in the use case and variations thereof are described in detail A graphical representation of the interaction of the use case in a system sequence diagram - SSD (in a later session) All use cases described in brief and / or causal. Only the critical described fully dressed with associated solid state and contracts

Use case description, Brief Template for brief description: Use case: Name of the use case Description: An overall but complete description of who initiates the use case, the expected system actions and responses of this that adds value to an actor Input to the system actions retrieved from the event table: Steps in use case

Example: Brief use case description Brief description Use case: Register Order A customer approaches to place an order. Shop assistant uses the system to create a new order, add items to the order, track customer information, store the order and print the order form and invoice. Along the way, the system displays details about the goods, subtotal and total. Event Use case Steps in use case Actor Customer places an order Register order Add desired items Register customer Save the order Print the order form and invoice Shop assistant

Use-case description Casual In addition to the brief form there can be added alternative scenarios in the Causal format Examples of alternative scenarios for the use-case: Register Order: If the goods are sold the system indicates when new products are expected home, so the customer can be informed If the customer wishes to pay immediately ...... .......

Prioritazation af use-cases According UP designing, implementation and testing is done in small chunks through a number of iterations (steps) The highest priority and most complex use-case is analysed, designed and coded in the first iterations (so one must assume that the rest also can be made) The steps in development of use-cases are: Use cases identified and they appear in a UML use-case diagram Then, they are described in brief or casual form. On this basis, use cases are prioritized (based on architecture-related importance, risks and business value), and then the most important are analysed for the design of prototypes and "fully dressed" descriptions.

Use-case description: ”Fully dressed” Detail storyline in use-case in a number of steps (flow of events) consisting of: Actor action<-> System response Add actor, pre- and post-conditions Use essential and black box style Brief- and/or casual descriptions and mock ups are used as the basis for the fully dressed descriptions.

Example: Use case: Register Order Mock UP’s: 1. Start register goods Flow of events in fully dressed description Use-case starts with a customer inquiry over the telephone to order goods Shop assistant begins a new order the system creates a new order Shop assistant Specifies the ID of the desired products The system returns the item description, price, sub total and running total Shop assistant adds the desired number of items The system adds the items Steps 4-7 are repeated until all items are added Shop assistant specify delivery information The system validates the data and record customer Shop assistant completes order The System saves the order Shop assistant request for an order form and invoice The system prints a confirmation UI design details (buttons and fields) should not be included in the description! It is up to the designer to determine 2. Response good nr 1231