05_requirements elicitation 1-2

42
7/22/2019 05_Requirements Elicitation 1-2 http://slidepdf.com/reader/full/05requirements-elicitation-1-2 1/42 Prof. Dr. Armin B. Cremers Sascha Alda Organizational equirements E ngineering Chapter 5 Requirements Elicitation I

Upload: patricia-wilson

Post on 10-Feb-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 1/42

Prof. Dr. Armin B. CremersSascha Alda

Organizational

R equirements

Engineering

Chapter 5Requirements Elicitation I

Page 2: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 2/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 2

This lesson

Overview

z General view on requirements elicitation

z

Processes of requirements elicitation (and analysis)z Elicitation Techniques

Scenarios

Interviews

Observation Prototyping

z From scenarios to use cases

Identifying actors

Best practice for modeling use cases

Refinement of use cases

z Conclusions

Page 3: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 3/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 3

Software Development Process:Classify Requirements Elicitation

Sub-systems

class...

class...class...

SourceCode

SolutionDomainObjects

SystemDesign

ObjectDesign

Implemen-tation

Testing

 ApplicationDomainObjects

TestCases

?

class....?

RequirementsElicitation

Use CaseModel

 Analysis

Expressed inTerms of 

Structuredby

Realizedby

Implementedby

 Verifiedby

Page 4: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 4/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 4

Requirements ElicitationFirst view

z Encompass all activities involved in discovering the requirementsof a system

z System developers and engineers work in close relationship withcustomer and end-users to

Find out more about the problem to be solved

To describe the functionality of the system Performance of the system

Hardware constraints … and so forth

z Not just a simple process about fishing for requirements, but a

highly complex process: Customer rarely have a clear picture of their requirements

Different people have conflicting requirements

Page 5: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 5/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 5

Requirements ElicitationFurther aspects

z Business environment in which the elicitation process takes placeis constantly changing

Importance and relevance some requirements may change

New requirements may result from new stakeholders

End-user may change their jobs

z Many different elicitation processes can be found

z Here: concentration on general-purpose process models

Page 6: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 6/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 6

Changing Requirements and Costs

z Traditional view

Costs of changes develop exponentially due to time

Complexity of software increases over project time (and phases)z  Alternative view in Agile Development (e.g. XP)

Goal: Linear development of costs

Changes can be done everytime during the projectÆ higher

flexibility

Costof change

time

Standard SE

 Agile assumption

Page 7: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 7/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 7

Components of requirements elicitation:Basic Elicitation activities

z  Application domain understanding

knowledge of the general area where the

system is appliedz Problem understanding

details of the specific customer problemwhere the system will be applied

z Business understanding understand how systems interact and

contribute to overall business goals

z Understanding the needs and constraints

of system stakeholders understand, in detail, the specific needs

of people who require system support intheir work 

 Appl ication

DomainProblem to

be solved

Stakeholder 

needs and

constraints

Business

Context

Page 8: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 8/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 8

Elicitation, analysis and negotiation: Yet another view on RE

Requirementselicitation Requirements

analysis

RequirementsNegotiation (with client)

Draftstatement of requirements

Requirementsdocument

Requirementsproblems

Page 9: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 9/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 9

The requirements elicitation process:Elicitation stages

Business

Goals

Problem to

be solved

System

Constraints

Organizational

structure

 Application

Domain

Existing

Systems

Stakeholder 

Identification

Goal

Priorization

Domain know-

ledge filtering

Stakeholder 

requirements

Domain

requirements

Organizational

Requirements

Establish

Objects

Understand

Background

Organize

Knowledge

Collect

Requirements

z Objective setting: establish the overall organizational objectives:why is the system necessary?

z Background of knowledge acquisition: gather and understand

more background information about the system

Page 10: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 10/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 10

The requirements elicitation process:Elicitation stages

Business

Goals

Problem to

be solved

System

Constraints

Organizational

structure

 Application

Domain

Existing

Systems

Stakeholder 

Identification

Goal

Priorization

Domain know-

ledge filtering

Stakeholder 

requirements

Domain

requirements

Organizational

Requirements

Establish

Objects

Understand

Background

Organize

Knowledge

Collect

Requirements

z Knowledge organization: organize, prioritize and collate thelarge amount of data collected in the previous phases

z Stakeholder requirements collection: involve system

stakeholders to discover their requirements.

Page 11: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 11/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 11

Requirements Analysis and Negotiation: Analysis checks

z Necessity checking

Sometimes requirements don’t contribute to the business goals of the

organization or to the specific problem to be addressed by the systemz Consistency and completeness checking

Cross-checking for consistency and completeness (no contradictions, noservices or constraints are missed out)

z Feasibility checking

the context of the budget and schedule

Requirements Negotiation

Requirements Analysis

Necessity

Checking

Consistency And

Completeness Checking

Feasibility

Checking

Requirements

Discussion

Requirements

Priorization

Requirements

 Agreement

Unnecessary

Requirements

Conflicting And

Incomplete Requirements

Infeasable

Requirements

Page 12: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 12/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 12

Requirements Analysis and Negotiation:Negotiation

z Requirements discussionÎ Requirements highlighted as problematical are discussed

Î the stakeholders involved present their views about the requirementsz Requirements prioritization

Identification of critical requirements

z Requirements agreement

 A compromised set of requirements are agreed

Æchanges to some of the requirements

Requirements Negotiation

Requirements Analysis

Necessity

Checking

Consistency And

Completeness Checking

Feasibility

Checking

Requirements

Discussion

Requirements

Priorization

Requirements

 Agreement

Unnecessary

Requirements

Conflicting And

Incomplete Requirements

Infeasable

Requirements

Page 13: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 13/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 13

Process of Requirements Elicitation:Products of Requirements Process

Requirements Analysis

RequirementsElicitation

Problem

Statement

Requirements specification:

functional andnon-functionalrequirements

 Analysis Model:dynamic modelobject model

Page 14: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 14/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 14

The Goal: Analysis Model(vs. Requirements Specification)

z Both models focus on the requirements from the user’s view of the system.

z Requirements specification uses natural language (derived fromthe problem statement )

z The analysis model uses formal (Z, pi-calculus) or semi-formalnotation (for example, a graphical language like UML)

Formal notations encompass an exact mathematical syntax andsemantic

z The starting point is the problem statement

Page 15: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 15/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 15

Starting with the Problem Statement

z The problem statement is developed by the client as a condenseddescription of the requirements that should be addressed by the

system

z Describes the problem that should be solved

z It describes “what” is needed, not “how” it should be reached

Page 16: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 16/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 16

Starting with the Problem Statement:Ingredients

z Current situation: The Problem to be solved

 A few pages

z Description of one or more scenariosz Some initial requirements

Functional and Non-functional requirements

No complete description

z Project Schedule Major milestones that involve interaction with the client including deadline for

delivery of the system

z Target environment

The environment in which the delivered system has to perform a specified set

of system testsz Client Acceptance Criteria

Criteria for the system tests

Page 17: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 17/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 17

Starting with the Problem Statement:Current Situation - Problem To Be Solved

z There is a problem in the current situation

Examples:

ÎThe response time in a travel booking system is far too slow

ÎThere have been illegal attacks to the system

z  A change either in the application domain or in the solutiondomain has appeared

Change in the application domainΠA new function (business process) is introduced into the business

ÎExample: A function is provided for credit payment with fingerprint asauthorization

Change in the solution domain

ΠA new solution (technology enabler) has appeared

ÎExample: New standards (implementation) for secure network communication

Page 18: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 18/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 18

Example: Library System

z Idea: A Library Management System should bedesigned. Information on books, CDs, DVDs, Journals,

etc. can be stored and retrieved

z Possible Requirements:

Searching by Title, Author, and/or ISDN should bepossible

User Interface should be web-based (accessible viaWWW Browser)

 At least 20 transactions per seconds should be possible

 All services should be available within 10 minutes

Users have no access to personal data of other users

Problem Statement

functional

requirement

Implementationrequirement

performance

requirement

availability

requirement

Security

requirement

Page 19: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 19/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 20

Process of Requirements Elicitation:The Requirements Elicitation Cycle (Brügge)

Observing users

Interviewing

users and clients

As-Is Scenarios

Visionary

Scenarios

Use Cases +

RefinementsPrototypes

Validation

Validation

Validation

Validation

Tests

• Functional Requirements

• Non-Functional Requirements

• Use Cases

• Scenarios

Stable Requirements Specification

(System Specification)

Validation

Page 20: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 20/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 21

Process of Requirements Elicitation: Activities during Requirements Elicitation

z Identifying Actors

Types of users, roles, external systems

z Identifying Scenarios Interactions between users and the systems (one possible case)

Æ  Later on in this lesson 

z Identifying Use Cases

 Abstractions of Scenarios(Many possible cases)

Æ Next Lesson 

z Refining Use Cases

Refinements, adding exceptions, etc.

z Identifying Relationships among Use Casesz Identifying Non-Functional Requirements

Security issues, Performance, etc.

ScenariosUse Case

(=class of scenarios)

Page 21: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 21/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 22

Process of Requirements Elicitation:How to elicit Requirements?

z Sources of information

Documents about the application domain

Manual and technical documents of legacy systems

z User Participation

Interviews

Î

Closed Interviews: User answer a predefined set of questionsÎOpen Interviews: No predefined agenda

ÎWork Practice

User Observation (next lesson)

Æ Describing Scenarios

Page 22: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 22/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 23

Observing users

Interviewing

users and clients

As-Is Scenarios

Visionary

Scenarios

Use Cases +

RefinementsPrototypes

Validation

Validation

Validation

Validation

Tests

• Functional Requirements

• Non-Functional Requirements

• Use Cases

• Scenarios

Stable Requirements Specification

(System Specification)

Validation

Process of Requirements Elicitation:The Requirements Elicitation Cycle

Page 23: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 23/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 24

Elicitation techniques - Idea

z Specific techniques which may be used to collect knowledge aboutsystem requirements

z This knowledge must be structured

Partitioning - aggregating related knowledge

 Abstraction - recognizing generalities

Projection – organizing knowledge from several perspectives

z Requirements elicitation is cooperative process involvingrequirements engineers and system stakeholders. Problems:

Not enough time for elicitation

Inadequate preparation by engineers Stakeholders are unconvinced of the need for a new system

Page 24: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 24/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 25

Selection Criteria

z System to be created (I)

Greenfield Engineering

Reengineering Interface Engineering

z System to be created (II)

Highly interactive (Cooperation Support System)

Specific applications like Games

z Budget/Time

z Degree of User Participation

Time

Experience of users

z …. (many more)

Page 25: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 25/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 26

Elicitation techniques - Overview

This lesson:

z Scenarios

z Interviews

Next lesson:

z Soft systems methodsz Observations and social analysis

z Prototyping

Page 26: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 26/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 27

InterviewsEssentials

z Probably the most common technique of requirements elicitation.

z Interviewers must be open-minded and should not approach the

interview with pre-conceived notions about what is requiredz Stakeholders must be given a starting point for discussion

a question

a requirements proposal

an existing system

z Interviewers must be aware of organizational politics

Some requirements may not be discussed because of their politicalimplications

z Interviews with different stakeholders Different perspectives

Æ global understanding of their requirements

z Interviews no good way for understanding concepts of application

domain

Page 27: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 27/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 28

InterviewsDifferent Techniques

z Structured (closed) interviews

Stakeholders answer a predefined set of questions

Easy to analyze (+)

Well-formed questions generate well-formed answers (you haveto know your goals) (+)

Knowledge about what and how to ask (-)

z Non-structured (open) interviews

No predefined agenda

Generating new ideas (experimental, brain storming) (+)

sometimes hard to handle (dynamics of discussion) (-)

z In practice: mixed interview types are normal

Page 28: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 28/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 29

InterviewsWritten vs. oral interviews, group vs. person

z Oral interviews:

possibility to discussion (+)

interviewer may influence interviewee (-)

z Written interviews

problems in understanding (-)

already transcribed, thus easy to analyze (+)

z Interviewing a single person:

individual opinions (+)

z Interviewing a group of people:

Involvement of many perspectives

Developer need experience to moderate (-)

Sometimes single or silent opinions are not noticed (-)

Æ Independent Moderator can mediate between group

Page 29: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 29/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 30

InterviewsGood practices (selection)

z Prepare some initial questions Æ good entry point

z Do not press the interviewee through the questionnaire

z Restrict the time frame for the questionnaire (approx. 1 hour)

 Announce the estimated time for the interview

z Short introduction for the purpose of the interview

z Ensure anonymity (if necessary)

z Make notes to the answers Explain the purpose of the records (reduces potential fear!)

z Do not interrupt the interviewee’s flow of words

z  Allow people to refuse a question (don’t insist on answers!)

z  Announce feedback (evaluation) at the end

Page 30: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 30/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 31

InterviewsTranscription

z Transcription is the compilation of human communication intoscripture, mostly based on voice or written recording

z Transcription systems are rule types that exactly determines how

spoken language is to be compiled. Incorporates differentattributes:

Loudness of speech

Speech intermission

Gesture, facial expression

Emphasis of special words or phrases

Repeat of phrases

External factors

z Software support can be utilized (syncWRITER)

z Interview should be transcribed by second person

Page 31: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 31/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 32

Interviews IV:Different Goals

z During elicitation (early)

Understanding role of interviewee within organization

Understanding the work context

Getting requirements on new system

Reviewing first pass of scenarios (Æ exercise)

Goal: Description of complete scenarios (next…)

z During analysis

Discussing use cases with client and users

Correction and refinement (requirements and functionality)

Goal: Getting complete use cases (next lesson)

Page 32: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 32/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 33

Scenarios – Overview 1

Motivation (Observation):

z System stakeholder find it more intuitive to reason about concrete

examples rather than abstract descriptions of the functionsprovided by a system (use cases)

Solution: Scenario

z  “A narrative description of what people do and experience as theytry to make use of computer systems and applications” [M. Carrol,Scenario-based Design, Wiley, 1995]

z  A concrete, focused, informal description of a single feature of the

system used by a single actorz Discovering scenarios exposes possible system interactions and

reveals system facilities which may be required

Page 33: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 33/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 34

Scenarios – Overview 2

z Scenarios are stories which explain how a system might be used.They should include:

a description of the system state before entering the scenario

the normal flow of events in the scenario

exceptions to the normal flow of events

information about concurrent activities

a description of the system state at the end of the scenario

z Scenarios can have many different uses during the softwarelifecycle:

Requirements Elicitation: As-is scenario, visionary scenario

Client Acceptance Test: Evaluation scenario System Deployment: Training scenario.

S i

Page 34: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 34/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 35

Scenarios:Different Types

z  As-is scenario

Used in describing a current situation

Usually used in re-engineering projects The user describes the system

z  Visionary scenario

Used to describe a future system

Usually used in Greenfield engineering and reengineering projects Can often not be done by the user or developer alone

Î brainstorming sessions, future workshop

z Evaluation scenario

User tasks against which the system is to be evaluatedz Training scenario

Step by step instructions that guide a novice user through a system

S i

Page 35: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 35/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 36

Scenarios:How do we find scenarios?

z Interviews with stakeholder

z Don’t expect the client to be verbal, if the system does not exist(Greenfield engineering)

z Don’t wait for information even if the system exists

z Developer and user profit from creating scenario both-way:

 You help the client to formulate the requirements

The client helps you to understand the requirements The requirements evolve and become more obvious while the

scenarios are being developed

Scena ios

Page 36: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 36/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 37

Scenarios:Possible questions in an interview (visionary)

z What are the primary tasks that the system needs to perform?

z How do you currently perform your primary task?

z Do you know about any kind of system or service that already fulfills

some task?z What data will the (main) actor create, store, change, remove or add

in the system?

z  Are there other actors in the system (explain the term actor!)

z Do the actors need assistance during carrying out their tasks?

z What external changes does the system need to know about?

z What changes or events will the actor of the system need to beinformed about?

z What kind of exceptions can you suggest?

z Can actors interrupt a sequence of interaction? What happens, if so?

z What about extra-ordinary events and tasks?

Scenarios:

Page 37: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 37/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 38

Scenarios:Heuristics for finding Scenarios

z However, don’t rely on questionnaires alone.

z Insist on task observation if the system already exists (interface

engineering or reengineering)

 Ask to speak to the end user, not just to the software contractor

Expect resistance and try to overcome it

Scenarios:

Page 38: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 38/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 39

Scenarios:Example - Accident Management System

The approach: Start with single Scenario, e.g. “Warehouse infire”. Interview Guideline:

z What do you need to do if a person reports “Warehouse on Fire?” z Who is involved in reporting an incident?

z What does the system do, if no police cars are available? If the policecar has an accident on the way to the “cat in a tree” incident?

z Can the system cope with a simultaneous incident report “Warehouse onFire?” 

z What do you need to do if the “Warehouse on Fire” turns into a “Cat inthe Tree”?

 Your Task (Problem Statement):

z Build a requirements model for a system that allows to report fireincidents. It should be able to report incidents for many types of 

buildings and things.

Scenario:

Page 39: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 39/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 40

Scenario:Example - Warehouse on Fire

z Bob , driving down main street in his patrol car notices smokecoming out of a warehouse. His partner, Alice , reports theemergency from her car by using the SYSTEM.

z  Alice enters the address of the building, a brief description of itslocation (i.e., north west corner), and an emergency level. Inaddition to a fire unit, she requests several paramedic units onthe scene given that area appear to be relatively busy. Sheconfirms her input and waits for an acknowledgment.

z John , the Dispatcher, is alerted to the emergency by a beep of his workstation. He reviews the information submitted by Aliceand acknowledges the report. He allocates a fire unit and twoparamedic units to the Incident site and sends their estimatedarrival time (ETA) to Alice.

z  Alice received the acknowledgment and the ETA.

Scenarios:

Page 40: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 40/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 41

Scenarios:Observations about “Warehouse on Fire” 

z Concrete scenario

Describes a single instance of reporting a fire incident.

Does not describe all possible situations in which a fire can bereported.

z Participating actors

Bob, Alice and John

From Scenarios to use cases

Page 41: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 41/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 42

From Scenarios to use casesFirst pass

z Use case: an abstraction of possible coherent scenarios

z Scenario: a single example of a scenario

Æ instance of a use case!

Example:

Scenario

“Warehouse on Fire”

Scenario

“Flat on Fire”

Scenario

“Car on Fire”

Use Case

“ReportFireIncident”“ReportFireIncident”=

Summary

Page 42: 05_Requirements Elicitation 1-2

7/22/2019 05_Requirements Elicitation 1-2

http://slidepdf.com/reader/full/05requirements-elicitation-1-2 42/42

 Armin B. Cremers, Sascha Alda Organizational Requirements Engineering 43

Summary(Requirements Elicitation Overview)

z The goal is a sound model representing the requirements of thesystem seen from the user‘s perspective

z First steps are: Write the Problem Statement

Elicit Requirements

z First step of elicitation is understanding scenarios

z Requirements elicitation is a cyclic process