Requirements Engineering/het werk/werkstuk/2008-9/Groep 05 3J/Scenarios
Inhoud
Scenarios
Use case 'Add User'
Basic course of events During the first lecture of the semester a student enters and teacher Hermanns class and admits that he has registered late for the course.
- To let him take part, Hermanns decides to add him immediately to the hNMR-simulation-system.
- He enters the students name into the system and selects, that the student is of the user type 'student'.
- Hermanns adds the new user to the corresponding group.
- Hermanns choses adequate parameters for the new user. (budget)
- Hermanns submits settings to the system.
- System confirms creation of new user.
Alternative path 1 Administrator Bofah has to create several user accounts before the beginning the course
- Bofah chooses to create multiple accounts at once.
- Bofah supplies the system with a list of user names in a predefined format that contains all new user details.
- Bofah sets the default group and budget for the new accounts and submits the settings.
- The system confirms the successful creation of new users.
Alternative path 3 Administrator Bofah has to create several user accounts for the course of the beginning.
- Bofah chooses to create multiple accounts at once.
- Bofah supplies the system with a list of user names in a predefined format that contains all new user details.
- The system refuses to continue because several user names are already taken.
- Bofah sighs and corrects his user list.
- Bofah sets the default group and budget for the new accounts and submits the settings.
- The system confirms the succesful creation of new users.
Use Case 'Modify user'
Basic course of events Student Braksen has (due to a hangover and an early lecture) failed in executing his experiment properly and is now out of budget. He regrets his mistake and asks the teacher if he can get new budget to start over.
- Teacher Miss Nice decides to give Braksen another chance and add some budget to his account.
- She indicates to the system that she wants to add the properties of a user.
- She selects the user Braksen.
- She enters a new value for budget
- She submits the change to the system.
- The system confirms the change.
Admin Folwaczny is informed that a student has stopped his study to join the Foreign Legion.
- Folwaczny indicates the system that he wants to modify a user.
- He selects the student that stopped his study.
- He selects the option to delete the user and submits his changes.
- The system confirms the deletion.
Alternative path 1 Lecturer Doe realizes that he forgot to add some recently created users of type student to a group.
- Doe signals the system that he wants to modify several users.
- He selects the respective users.
- He picks a group to add the users to.
- He commits the changes to the system.
- The system confirms the changes.
Alternative path 2 After deleting a student from the system admin Folwaczny feels joyous and playful.
- He conveys to the system that he wants to modify an account.
- He chooses his own account.
- He selects the option to delete this account and submits his change.
- The system denies the deletion.
- Folwaczny cancels the process and goes to lunch.
Use case 'Add group'
Basic course of events Next week there will come new students to the faculty who will be using the system. Admin Leffe wants to tuck them nicely in a group.
- Admin Leffe indicates to the system that he wants to add a new group.
- He is asked for the name and enters "Students 2008-2009" as name.
- He also modifies the parameters for the group and sets the budget to 1337€ per user.
- He submits the changes to the system.
- The system confirms his changes.
Alternative path 1
- Admin Leffe indicates to the system that he wants to add a new group.
- He is asked for the name and enters "Students 2008-2009" as name.
- He also modifies the parameters for the group and sets the budget to 1337€ per user.
- System gives option to immediately add users to the new group.
- Leffe selects the users that are supposed to become members of the group.
- He submits the changes to the system.
- The system confirms his changes.
Alternative path 2 Woken up at night the day before the new semester Admin Leffe remembers he still needs to add a new usergroup
- Admin Leffe indicates to the system that he wants to add a new group.
- He is asked for the name and enters "Students 2008-2009" as name.
- The system refuses to create a group of this name because the name is already taken.
- Leffe remembers that he had created this group earlier. He cancels the process. Let's go back to bed.
Use case 'Modify group'
Basic course of events Lecturer Doe changes his exercises and realizes that now the budget he assigned to his students earlier is not enough. So he decides to increase the budget of his students.
- Doe signals to the system that he wants to change a goups properties.
- He selects the to-be-changed group.
- He enters the new budget value.
- He submits the changes.
- The system confirms the changes.
Alternative path 1 At the end of the year admin Schörghuber needs to prepare the system for next year. Part of this task is to remove all groups from the system.
- Schörghuber signals to the system that he wants to delete groups.
- He selects the to-be-deleted groups.
- He submits the changes and confirms deletion.
- The system confirms the changes.
Alternative path 2 Lecturer Doe changes his exercises and realizes that now the budget he assigned to his students earlier is not enough. So he decides to increase the budget of his students.
- Doe signals to the system that he wants to change a goups properties.
- He selects the to-be-changed group.
- He enters the new budget value.
- He mistypes and types in the unrealistically high value of 1234567890€.
- The system rejects the value because it is higher than the admitted range for this value.
- Doe recognises his mistake and changes the value to 1234€.
- He submits the changes.
- The system confirms the changes.
Alternative path 3
- Lecturer Doe accidentilly selects a group he is part of himself.
- The system rejects the deletion because the current user is in one of the selected groups
- Doe unselects his own group and submits deletion
Use case 'Add molecule'
Basic course of events Teacher Pietersen needs to add a molecule (nitroglycerin, C3H5N3O9) before he can make an assignment for his students.
- Dhr. Pietersen logs in to the system and navigates to the add molecule pane.
- Pietersen enters the name "Nitroglycerine"
- Pietersen defines all information about the molecules he knows
- Pietersen saves the molecule
- Systems confirms
Alternative path 1 Scientist Jansen has thought of an experiment for which he needs aceton.
- Jansen logs in to the system and navigates to the add molecule pane.
- Jansen enters the name "Aceton"
- Jansen defines all information about the molecules he knows
- Jansen saves the molecule
- The systems rejects, a molecule with this particular sequence is already known
- Jansen enters the name "Aceton2" (because he is adding a isomer)
- Jansen does not change the setting he made earlier
- Jansen saves the molecule
- Systems confirms
Use case 'Modify molecule'
Basic Course of Events The administrator Rudolph has found (in some miraculous way) a duplicate molecule which he wants to remove (CH3COCH3 (named Acetone) and CHHHCOCHHH (named Aceton2)).
- He indicates he wants to delete a molecule
- He selects the molecule "Aceton2"
- He confirms the deletion of selected molecule
- The system confirms deletion
Alternative Path 1 Teacher Pietersen has found an error in a molecule.
- Pietersen indicates he wants to change an existing molecule
- Pietersen selects molecule "Nitroglycerin"
- Pietersen corrects faulty parameters
- Pietersen saves changes to the molecule
- The system confirms changes
Alternative Path 2
- Pietersen has set a parameter molecule "Nitroglycerin" completely out of bounds
- The systems gives Pietersen another change by letting him change his (erroneous) parameters
Alternative Path 3
- The molecule administrator Rudolph tries to delete appears to be currently in use by a sample
- The system notifies Rudolph that this molecule will not be deleted and skips deletion of this particular molecule
Use case 'Add sample'
Basic course of events Teacher Philips has come up with an experiment for his students. He wants to let them analyze a sample
- Philips indicates he wants to create a new sample
- Philips enters a name for the sample, he enters "Sample 3"
- Philips adds molecules the sample consists of
- Philips adds nitroglycerin
- Philips adds aceton, aceton is a solvent
- The system confirms
Alternative Path 1
- The system rejects, a sample with name "Sample 3" already exists
- Philips enters a new name "Sample 5"
- Philips saves the sample
- The system confirms
Use case 'Modify sample'
Basic course of events Scientist S. Claus has discovered sample S94 has the same properties as sample S02, and decides he wishes to modify sample S94 in accordance with his present research purposes.
- S. Claus indicates he wants to modify an existing sample
- System asks for sample
- S. Claus selects sample S94
- System displays the properties of sample S94
- S. Claus reduces the molecular value of the reactive in the sample to half its original value and saves these changes
- System confirms changes
Alternative Path 1 Teacher Knip discovers sample S776 has properties that seem meaningless; therefore, he would like to delete this sample from the system.
- Knip indicates he wants to delete an existing sample
- System asks for sample(s) to be deleted
- Knip selects sample S776
- System asks for confirmation
- Knip confirms the deletion of sample S776
- System confirms deletion
Alternative Path 2 Scientist S. Claus has discovered sample S94 has the same properties as sample S02, and decides he wishes to modify sample S94 in accordance with his present research purposes.
- S. Claus indicates he wants to modify an existing sample
- System asks for sample
- S. Claus selects sample S94
- System displays the properties of sample S94
- S. Claus reduces the molecular value of the reactive in the sample to half its original value and saves these changes
- System confirms changes
- System rejects the saved changes; new molecular value is negative (typo??)
- S. Claus carefully enters the wanted molecular value of the reactive in the sample and saves these changes
- System confirms changes
Use case 'Conduct Experiment'
Basic course of events Student Englebert wants to prepare an experiment using sample S001
- Englebert indicates they would like to prepare an experiment
- Englebert selects sample S001
- Englebert sets hNMRparameters to desired values
- Englebert confirms settings
- System calcuylates and shows corresponding experiment costs
- Englebert continues the experiment
- System renders a hNMR signal (FID) and displays this
- Englebert converts the FID signal into a Fourier analysis
- System displays graph of Fourier analysis
- System confirms
Alternative Path 1
- Hewlett is not satisfied with experiment duration (he is running out of time) and alters settings made in step 3
- Hewlett submits and confirms new settings
Use case '(De-)Assign Experiment'
Basic course of events Teacher Kermit wants to assign samples S666 and S667 to group 'Muppets'
- Kermit indicates he wants to assign samples to a group
- Kermit selects the group named 'Muppets'
- Kermit selects samples S666 and S667
- Kermit enters the fake name 'FinalExperiment' to this series of samples
- System confirms
Alternative Path 1 Teacher Zack McCracken has done a series of experiments in his courses. Now he wants to remove an experiment that has been conducted in an earlier lecture.
- Zack McCracken indicates that he wants to remove an assigned experiment from a group of students
- Kermit selects the group 'Tentacles'
- From the list of experiments assigned to that group he selects the experiment 'Guybrush' to be deleted
- The system confirms the deletion