| Tab7. Register for training
scenario
| Case | Register for training |  
| Actor | Student |  
| Scenario | Succeeded |  
| Preconditions | Student authenticated |  
| Actions | The
student selects : <Register for training> buttonThe system presents
all available training and all informations about each one
 The system asks
the user to choose one
 The user clicks on <ok> to select the chosen
one
 The system verify compatibility between student and chosen training.
 Student class=training class. The deadline for registration does not exceed. The number of places + 1 <= nb of limited placesThe system
executes the command to creates the file contents in the database
 The system adds the student to the list of registered for the
training. The system update the list of registered for the training in the
administrator space.The system displays a message indicating the success of
the registration.
 |  
| Post condition | The system creates a new file in the database space |  
| Variants | The student register for not allowed training / registration time
has expired / there are no more places.The system sends an error message
 | 
![]()
 Fig11. Activity diagram:
Register for training2.4.4.2. Diagram of
sequences systemWe'll now interest by the chronology of
interactions between objects and the system in general. So
we should present sequence diagrams. |