Basics of the Use Cases Editor (UCEd)‏ Stéphane S. Somé SITE, University of Ottawa.

Slides:



Advertisements
Similar presentations
Use-Cases.
Advertisements

Object-Oriented Analysis and Design Evolutionary Requirements.
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 Diagrams Damian Gordon.
CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
Use Case & Use Case Diagram
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.
USE CASE – ATM EXAMPLE Actors: ATM Customer ATM Operator Use Cases: The customer can withdraw funds from a checking or savings account query the balance.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
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.
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.
ATM User Interface Design. Requirements A bank customer is able to access his or her account using an automatic teller machine. To be able to use an ATM.
Interaction Diagrams Activity Diagram State Machine Diagram
SwE 313 Case Study Registration System.
Use Case Modeling Written by: Zvika Gutterman Adam Carmi.
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 CS 425 Software Engineering Project Preparation Use Case Modeling [Based on Chapters 3 & 4, Arlow and Neustadt, “UML and the Unified Process,” Addison-Wesley,
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.
Software Engineering UNIT 2. Functional Modelling.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
1 Object-Oriented Modeling Using UML (2) CS 3331 Fall 2009.
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.
Dynamic Modeling Chapter 11 Part of Analysis Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
1 Presentation and tool by Jason Kealey University of Ottawa CSI5180 Automatic conversion of Use Cases to Use Case Maps.
1 Presentation and tool by Jason Kealey Automatic conversion of Use Cases to Use Case Maps.
Requirements Analysis and Design Engineering Southern Methodist University CSE 7313.
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.
1 Structuring Systems Requirements Use Case Description and Diagrams.
CPSC 203. Use Case Diagram  A description of a system’s behavior as it responds to a request that originates from outside of that system. Specifies the.
Functional Requirements – Use Cases (Chapters 14, 21) Sriram Mohan 1.
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 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
Unit 3 Functional Requirements. Syllabus Introduction Features and usecases Use case Scenarios Documenting use cases Levels of details SRS Document.
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.
Use Case Textual Analysis
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
Use Case Diagram Lecture # 1. Use Case Diagram Use-cases are descriptions of the functionality of a system from a user perspective.  Depict the behaviour.
Use Case Model Use case description.
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.
High Level Design Use Case Textual Analysis SE-2030 Dr. Mark L. Hornick 1.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
Beyond Scenarios: Generating State Models from Use Cases An approach for the synthesis of State transition graphs from Use Cases Supporting Use Cases Based.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
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 Case Study and Use Cases for Case Study Lecture # 28.
From requirements to specification Specification is a refinement of requirements Can be included together as Software Requirements Specifications (SRS)
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.
Systems Analysis and Design in a Changing World, Fourth Edition
Using Use Case Diagrams
Paul Ammann & Jeff Offutt
CMPE 280 Web UI Design and Development August 29 Class Meeting
Use Case Modeling - II Lecture # 27.
Storyboarding and Game Design SBG, MBG620 Full Sail University
Use Case Model Use case diagram.
UML Use Case Diagrams.
Start at 17th March 2012 end at 31th March 2012
Concepts, Specifications, and Diagrams
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Paul Ammann & Jeff Offutt
Object Oriented Analysis and Design
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
CS 420/620 HCI Use Case Modeling Project Preparation
CS 425 Software Engineering
CS 425/625 Software Engineering
Presentation transcript:

Basics of the Use Cases Editor (UCEd)‏ Stéphane S. Somé SITE, University of Ottawa

Use Case Editor (UCEd)‏ A toolset for Use Cases capture and validation  Use Cases edition  Domain model edition  Scenario edition  Use Case & Domain model validation  Use Cases combination in state models  Simulation of executable model derived from Use Cases  Scenario generation

Elements of UCEd UCED (Use Case Editor)‏ Simulator Use Cases Editing State Model Synthesis Domain Editing Scenario Editing

Use Case Edition Use Case model Use Case description

Use Case Model Consists of –Use Cases normal use cases extension use cases –Relationships include extend –extend condition –Actors

Use Cases Template (1)‏ Normal Use Case

Use Cases Template (2)‏ Title: a label that uniquely identifies the use case within the use case model. Description: a free form text that summarizes the use case. System Under Design: specifies what is the system in the use case. The system is the entity that react to stimuli from external actors. Primary Actor: the actor that initiates the use case. Participants: other actors participating in the use case. Goal: a statement of the primary actor expectation at the successful completion of the use case.

Use Cases Template (3)‏ Follows Use Cases: a list of normal use cases that the use case directly follows. Invariant: a condition that must hold through the use case. Precondition: a condition that must hold before an instance of the use case can be executed. Success Postcondition: a condition that must be true at the end of a successful execution of an instance of the use case. STEPS: a sequence of repeat blocks and steps. ALTERNATIVES: alternatives to steps. Alternative Postcondition: a condition that must be true at the end of an alternative.

Use Case Description - Conditions Two types of conditions Simple conditions  Entity bound conditions: based on domain entities  Non-Entity bound conditions: declared verbatim in the domain model Compound conditions  negation, conjunction, disjunction of simple conditions

Use Case Description Syntax Entity bound Condition [determinant] entity verb value  Optional determinant: a, an, or the  Entity: sequence of words naming an entity in the domain model (see later)‏  Verb can be one of: is, isn't, is not, are, aren't, are not, has, hasn't, has not, have, haven't, have not  Value: sequence of words defined as entity state characterization comparison

Use Case Description - Conditions Examples of Entity bound Conditions  The User Card is not valid  User number of attempts is > 3  The System Display is blinking  System registered users are less than 10 ....

Use Case Description - Conditions Compound Conditions  Negation NO condition NOT condition  e.g. “Not User identification is valid”.  Conjunction condition AND condition  Disjunction condition OR condition

Use Case Description - Steps Operation execution  Sentence describing an action by an actor or the system under design  Must be a simple sentence in the present tense  Examples: The User inserts a card ATM ejects the user's card The system displays a pin enter prompt Branching – refers to a step in the main scenario  GOTO 5.

Use Case Description - Steps Steps may be constrained by guard condition and/or a delay IFTHEN Guard conditions are specified with IF... THEN  e.g. IF User identification is invalid THEN ATM ejects card AFTER Delays are specified with AFTER  e.g. AFTER 10 sec, ATM ejects card

Use Case Description – Step alternatives Alternative behavior that may follow the step Include  alternative condition condition under which the extension takes place  steps Alternative steps can not have further alternatives  alternative postcondition postcondition when the alternative is taken

Use Case Description – Step alternatives Alternative condition – may be  a delay  condition, or  combination of delays and condition statement Examples  after 30 sec  before 2 min AND after 20 sec  The User identification is not valid  after 60 sec, IF Bank hasn't responded

Example of use case description (1)‏ Title:User login System Under Design:PMSystem Description:This use case describes a login process in the PMSystem. The use case is executed by a User (Doctor or Nurse). Primary Actor: User Participants: Goal: A User want to identify herself in order to use a PM system. Precondition: System is ON AND NO user is logged in turn system on Follows Use Cases: turn system on Steps: 1: The User inserts a Card in the card slot 2: The PMSystem asks for PIN 3: The User types a PIN 4: The PMSystem validates the USER identification 5: IF the USER identification is valid THEN The PMSystem displays a welcome message to the USER 6: After 60 sec The PMSystem ejects the Card Success Postcondition:User is logged in

Alternatives: 1a: User Card is inserted 1a1: User presses cancel button 1a2: PMSystem ejects Card Alternative Postcondition: User is not logged in 1b: The Card is not regular 1b1: The PMSystem emits an alarm 1b2: After 20 sec The System ejects the Card Alternative Postcondition: User is not logged in 2a: after 60 seconds 2a1: PMSystem emits alarm 2a2: After 20 sec PMSystem ejects Card Alternative Postcondition: User is not logged in 4a: The user identification is invalid AND number of attempts is less than 4 4a1: Goto Step 2 4b: User identification is invalid AND number of attempts is equal to 4 4b1: The PMSystem emits an alarm 4b2: After 20 sec PMSystem ejects the Card Alternative Postcondition: User is not logged in Example of use case description (2)‏

Sources Download UCEd Get user guide Get papers on UCEd