New Perspective Based on how the system is used. What Is a Use Case? A case of how the system is used. –A behaviourally related sequence of interactions.

Slides:



Advertisements
Similar presentations
Use Case Diagrams.
Advertisements

155 CONCEPTUAL DESIGN: PURPOSE, ACTORS, FEATURES, AND UML USE CASES.
Use Case Diagrams Damian Gordon.
Use Case & Use Case Diagram
Information System Engineering
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
OASIS Reference Model for Service Oriented Architecture 1.0
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Object-Oriented Analysis and Design
Use-case Modeling.
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Use Case Modeling Written by: Zvika Gutterman Adam Carmi.
Lecture 4 Class Responsibility Collaboration Cards
Documenting Requirements using Use Case Diagrams
Use Case Modelling.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
© Copyright Eliyahu Brutman Programming Techniques Course.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Use Case Modeling.
Use Case Analysis – continued
Sharif University of Technology Session # 7.  Contents  Systems Analysis and Design  Planning the approach  Asking questions and collecting data 
1 Business Models Modeling. 2 Why Model the Business Business modeling is a technique to help answer critical questions, such as: What do the workers.
Unified Modeling Language
Why Analysis Process Refer to earlier chapters Models what the system will do makes it easier for understanding no environment considered (hence, system.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Internet Software Development Putting it all together Paul J Krause.
Interaction Modeling. Overview The class model describes the objects in a system and their relationships, the state model describes the life cycles of.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
ECE450 - Software Engineering II1 ECE450 – Software Engineering II Today: An Aside: The Quickest Tour through the UML that you will ever get.
Use Cases 7/09. lnot part of the system lrepresents roles a user can play lrepresents a human, a machine or another system lactively exchanges information.
Requirements Analysis Visual Modeling] Lab 02 Visual Modeling (from Visual Modeling with Rational Rose and UML) A way of thinking about problems using.
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
Faculty of Computer & Information
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
Object Oriented Analysis & Design & UML (Unified Modeling Language) 1 Part II: Requirements The requirements workflow Use case modeling Advanced.
1 Use Case Diagrams Use Case Actor Use case description Use case realization (Scenario) Use case relationships –Extends –Uses.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagrams.
UML Class Diagram Trisha Cummings. What we will be covering What is a Class Diagram? Essential Elements of a UML Class Diagram UML Packages Logical Distribution.
Carmen David, Senior BA Business Analysis Carmen David, Senior BA Business Analysis Foundation in Business Analysis Session 7 MODELLING REQUIREMENTS.
Use Cases, Part I Understanding the Business Dynamics  Understand the business workflow  Identify system support points the system 'use cases'
1 Chapter 4 Analyzing End-to-End Business Processes.
Systems Analysis and Design in a Changing World, 6th Edition
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
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.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Analysis Modeling CpSc 372: Introduction to Software Engineering
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.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
UML (Unified Modeling Language)
 What to do if you want to build a new house? › Buy a bunch of wood and nails and start immediately. › Or, put some blueprints to follow, and plan of.
1 BTS330 Visual Modeling. What is Visual Modeling? 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
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.
Chapter 5 – System Modeling Lecture 1 1Chapter 5 System modeling.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 5 System modeling
System Modeling Chapter 4
Use Case Modeling.
Unified Modeling Language
Object Oriented Analysis and Design
Object-Oriented Software Engineering
Use Case Analysis – continued
Chapter 4 System Modeling.
Week 8 Lecture 1: Identifying Actors and Activities
Presentation transcript:

New Perspective Based on how the system is used

What Is a Use Case? A case of how the system is used. –A behaviourally related sequence of interactions performed by an actor in a dialogue with the system to provide some measurable value to the actor (Jacobson 1994). A scenario is a unique path through the system. An instance of a use case is a scenario. A class of scenarios is a use case.

Components of a Use Case Diagram Actors – stick figures. Use cases - ovals. –High level event-triggered processes. –Way in which the user uses the system. Communication lines – connecting actors to Use Cases. Extension lines –One use case extends another if it is sometimes performed by it. –One use case includes another if it is part of it’s normal processing.

To Model Use Cases Determine system scope and purpose. Identify the actors. Identify the use cases. Create a use case diagram. Describe the use cases. Identify user services and business services. Develop user services and business services. Complete the use case descriptions.

Business use cases and use cases The business model represents the system as is. When the business is modelled using Use Case modelling, more than just the computer system is modelled. When the computer is modelled, then the boundaries and actors are specific to the system.

Business Use Case modelling Reference: Rational Unified Process (online). Three types of activities (or Use Cases): –1. Commercially important activities, often called business processes. –2. Support activities that are needed to make the system work, such as administration, cleaning and security. –3. Management work.

Core business use cases Should have a communicates-relationship to or from a business actor. – So that businesses are built around the services their users request. Can be triggered periodically or they can run for a very long time –(e.g. a surveillance function). Have business actors that originally initiated them. May produce results for a business actor, although they are not explicitly initiated by the business actor. – For example, the development of a widely distributed product is seldom initiated by an identifiable customer. Instead, the need for a new product is realized from market studies and the accumulated requests of many users.

Non-core business use cases Management and supporting business use cases do not necessarily need to connect to a business actor, although they normally have some kind of external contact. A management business use case, for instance, might have the owners of the business, or the board, as its business actor. Abstract business use cases do not need a business actor, because they are never instantiated ("started") on their own.

Business actors An actor is an entity with whom the business interacts. The term actor means the role someone, or something plays while interacting with the business. E.g. –Customers, Suppliers, Partners, Potential customers (the "market place"), Local authorities, Colleagues in parts of the business not modeled. An actor normally corresponds to a human user, but sometimes an information system plays the role of an actor, or ‘time’ can also do so.

Actor v user An actor represents a type of business user rather than a real physical user. Several physical users of a business can play the same role. The same user can act as several different actors. A business actor should be given a name that reflects its role towards the business. The name should be applicable to any person—or any information system—playing the role.

Potential actors

Picking actors What in the system's surroundings will become actors to the system? Start by thinking of individuals who will use the system. How can you categorize them? It is often a good habit to keep a few individuals (two or three) in mind and make sure that the actors you identify cover their needs.

Picking actors The following set of questions is useful to have in mind when you are identifying actors: –Who will supply, use, or remove information? –Who will use this functionality? –Who is interested in a certain requirement? –Where in the organization is the system used? –Who will support and maintain the system? –What are the system’s external resources? –What other systems will need to interact with this one?

Actors Help define system boundaries –Actors should interact directly with the system. –Business actors may not be actors. –Business workers may not be actors. A business worker may be someone who facilitates or operates a business process, but may not be involved in initiating it or may not receive benefit from it.

Actors Are characterised by their external view rather than their internal structure. Participate in interactions involving message exchanges and actions with systems. Are denoted as stereotyped class rectangles or as stick person icons. Have goals to be achieved by interaction with systems. Have instances that are objects playing the role of an actor.

Actors Have one role for each use case with which they interact, that is one role per communicates relationship. Must have a name or identifier. May be played by a single object. May have generalisations with other actors – an actor may inherit characteristics of a more general actor.

Identifying Actors Who uses the system? Who starts up / shuts down the system? Who maintains the system? What other system(s) use this system? Who gets information from the system? Who provides information to the system? Does anything happen automatically at a preset time? (A time / date can be an actor).

Business Actor, Actor, Use Case

Use Case perspective The system is described from the perspective of the user. Each user describes the tasks or sets of tasks they do separately. The first task done may cause the user to be involved in doing other tasks. –E.g. (shop) Pick a product, pay for product. –Only things that are done by the same person at the same time in the same place are part of the same thread.