Elements of scenarios

A scenario is a sequence of: triggers, system reactions, waiting delays, guard realizations and assertions. The following is an example of scenario describing a normal login to the PMSystem.

Figure 7.1: Scenario describing a normal login to the PMSystem.
Scenario: Normal login
1.
Trigger: USER insert card
2.
Guard: USER Card status is NOT irregular AND PMSystem security is NOT high
3.
Reaction: PMSystem ask Pin
4.
Wait: 30 sec
5.
Trigger: USER type PIN
6.
Reaction: PMSystem validate USER identification
7.
Guard: USER identification is valid
8.
Reaction: PMSystem display welcome message
9.
Assertion: User is logged

A scenario may be ``positive'' (by default) or ``negative''. A positive scenario describes interactions that need to be supported while a negative scenario describes interactions that need to be avoided.

Stephane 2007-09-03