Académique Documents
Professionnel Documents
Culture Documents
Design
Scenario-based
Requirements Engineering
and User-Interface Design
Institut für
Hermann Kaindl
Computertechnik
Vienna University of Technology, ICT
ICT
Austria
Institute of
Computer Technology kaindl@ict.tuwien.ac.at
System overview
Application Domain
System Border
User
System to be built
Composite system
© Hermann Kaindl 1
Scenario-based Requirements Engineering and User-Interface
Design
Outline
Background
Functions / tasks, goals, scenarios / use cases
Requirements and object-oriented models
A systematic design process
Scenarios / use cases for interaction design
Summary and Conclusion
© Hermann Kaindl 2
Scenario-based Requirements Engineering and User-Interface
Design
For representation of
● cultural heritage
● explanations of events
● everyday knowledge
Human understanding in terms of specific situations
Human verbal interactions by exchanging stories
Use cases
© Hermann Kaindl 3
Scenario-based Requirements Engineering and User-Interface
Design
Use-case diagram
UML graphical notation
Ellipse: use case
Name of actor
Interaction design
© Hermann Kaindl 4
Scenario-based Requirements Engineering and User-Interface
Design
Widgets
Outline
Background
Functions / tasks, goals, scenarios / use cases
Requirements and object-oriented models
A systematic design process
Scenarios / use cases for interaction design
Summary and Conclusion
© Hermann Kaindl 5
Scenario-based Requirements Engineering and User-Interface
Design
Glossary
Functional requirements
© Hermann Kaindl 6
Scenario-based Requirements Engineering and User-Interface
Design
VSS shall book this rental on the account of the member and
ask the clerk to hand out a video copy to the member.
The member does not select further titles, but initiates the
termination of the transaction.
© Hermann Kaindl 7
Scenario-based Requirements Engineering and User-Interface
Design
...
VSS shall book this rental on the account of the member and
ask the clerk to hand out a video copy to the member.
By-Function: Video Rental Booking
Video Handing-out Request
...
© Hermann Kaindl 8
Scenario-based Requirements Engineering and User-Interface
Design
Use-case diagram
«include»
Withdraw Cash
«include»
Transfer between
Accounts
© Hermann Kaindl 9
Scenario-based Requirements Engineering and User-Interface
Design
Outline
Background
Functions / tasks, goals, scenarios / use cases
Requirements and object-oriented models
A systematic design process
Scenarios / use cases for interaction design
Summary and Conclusion
Domain Requirements
Model
Abstraction
Real world
© Hermann Kaindl 10
Scenario-based Requirements Engineering and User-Interface
Design
Types of requirements
«stereotype»
Requirement
«stereotype»
Constraint on System
«stereotype»
Constraint on Process
© Hermann Kaindl 11
Scenario-based Requirements Engineering and User-Interface
Design
© Hermann Kaindl 12
Scenario-based Requirements Engineering and User-Interface
Design
* *
Cashier user *
provider name
*
* user
Cash notes Customer * Cash Card
recipient owner
on hand name bank code
dispensed * * address 1 * card code
password serial number
© Hermann Kaindl 13
Scenario-based Requirements Engineering and User-Interface
Design
insert card
Represents a scenario
request PIN
enter PIN
Interaction of instances
request amount Activation
enter amount System border
request confirmation
enter confirmation
dispense card
take card
dispense cash
Clerk
Video Title
...
... 1..*
maintained by works with
in stock as
1..*
VSS
Video
...
Customer
...
0..* maintains
rent to 1..*
0..1 Member
...
© Hermann Kaindl 14
Scenario-based Requirements Engineering and User-Interface
Design
acknowledge ()
terminate ()
good-bye ()
Conceptual
model
© Hermann Kaindl 15
Scenario-based Requirements Engineering and User-Interface
Design
Outline
Background
Functions / tasks, goals, scenarios / use cases
Requirements and object-oriented models
A systematic design process
Scenarios / use cases for interaction design
Summary and Conclusion
© Hermann Kaindl 16
Scenario-based Requirements Engineering and User-Interface
Design
Systematic process
By-Scenario
Scenarios
By-Function
Functional Requirements
Systematic process
By-Scenario
Scenarios
By-Function
Functional Requirements
© Hermann Kaindl 17
Scenario-based Requirements Engineering and User-Interface
Design
Systematic process
By-Scenario
Scenarios
By-Function
Functional Requirements
© Hermann Kaindl 18
Scenario-based Requirements Engineering and User-Interface
Design
© Hermann Kaindl 19
Scenario-based Requirements Engineering and User-Interface
Design
© Hermann Kaindl 20
Scenario-based Requirements Engineering and User-Interface
Design
© Hermann Kaindl 21
Scenario-based Requirements Engineering and User-Interface
Design
© Hermann Kaindl 22
Scenario-based Requirements Engineering and User-Interface
Design
© Hermann Kaindl 23
Scenario-based Requirements Engineering and User-Interface
Design
Outline
Background
Functions / tasks, goals, scenarios / use cases
Requirements and object-oriented models
A systematic design process
Scenarios / use cases for interaction design
Summary and Conclusion
© Hermann Kaindl 24
Scenario-based Requirements Engineering and User-Interface
Design
Scenarios as a prerequisite
Example scenario: Get Cash from ATM
Attached tasks:
- Entering PIN code
- Cash provision
- ...
Tasks of user and machine
Task
© Hermann Kaindl 25
Scenario-based Requirements Engineering and User-Interface
Design
Interaction Task
Interaction Task
© Hermann Kaindl 26
Scenario-based Requirements Engineering and User-Interface
Design
Interaction Task
© Hermann Kaindl 27
Scenario-based Requirements Engineering and User-Interface
Design
Larry Constantine
Essential modeling
Abstract usage of system
ATM example: User ATM
Identify self
Verify identity
Offer choices
Choose
Dispense cash
Take cash
Institute of Computer Technology
© Hermann Kaindl 28
Scenario-based Requirements Engineering and User-Interface
Design
Content model
Larry Constantine
Abstract interface contents
Abstract components to be supplied by the user
interface, placeholders for the actual visual
components in the implemented interface
Video Titles
(list of titles)
Members
Member
(list of
Identification members)
© Hermann Kaindl 29
Scenario-based Requirements Engineering and User-Interface
Design
Larry Constantine
Examining (validated) use case narratives
For each user step, what will have to be supplied for
user to complete step?
External view
Language of user and application domain
What information will be needed by and from the
user?
What functions will be needed by the user?
© Hermann Kaindl 30
Scenario-based Requirements Engineering and User-Interface
Design
Interaction context
Larry Constantine
Different tasks carried out in different spaces /
contexts
Distinct interaction contexts in UI
Larry Constantine
Navigational relationships among interaction
contexts
Member
Identification
Dialogue Title
Selection
Dialogue Video Copy
Hand-out
Dialogue
© Hermann Kaindl 31
Scenario-based Requirements Engineering and User-Interface
Design
Implementation model
Larry Constantine
Layout of the UI and interaction between user and
system
How to embody each abstract interaction context in
the UI as an actual interaction context?
E.g., as a screen, window, dialogue box, etc.
How to realize each abstract component as some
actual visual component on the UI?
E.g., as a tool, command button, text box, etc.
Outline
Background
Functions / tasks, goals, scenarios / use cases
Requirements and object-oriented models
A systematic design process
Scenarios / use cases for interaction design
Summary and Conclusion
© Hermann Kaindl 32
Scenario-based Requirements Engineering and User-Interface
Design
Literature
© Hermann Kaindl 33
Scenario-based Requirements Engineering and User-Interface
Design
© Hermann Kaindl 34