Requirements Engineering/het werk/werkstuk/2008-9/Groep 05 3J/Scenarios

Uit Werkplaats
< Requirements Engineering‎ | het werk‎ | werkstuk‎ | 2008-9‎ | Groep 05 3J
Versie door Jan Michels (overleg | bijdragen) op 5 jan 2009 om 03:25 (Use case 'Assign Experiment')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Ga naar: navigatie, zoeken

Requirements Engineering


 © comments



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.

  1. To let him take part, Hermanns decides to add him immediately to the hNMR-simulation-system.
  2. He enters the students name into the system and selects, that the student is of the user type 'student'.
  3. Hermanns adds the new user to the corresponding group.
  4. Hermanns choses adequate parameters for the new user. (budget)
  5. Hermanns submits settings to the system.
  6. System confirms creation of new user.

Alternative path 1 Administrator Bofah has to create several user accounts before the beginning the course

  1. Bofah chooses to create multiple accounts at once.
  2. Bofah supplies the system with a list of user names in a predefined format that contains all new user details.
  3. Bofah sets the default group and budget for the new accounts and submits the settings.
  4. 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.

  1. Bofah chooses to create multiple accounts at once.
  2. Bofah supplies the system with a list of user names in a predefined format that contains all new user details.
  3. The system refuses to continue because several user names are already taken.
  4. Bofah sighs and corrects his user list.
  5. Bofah sets the default group and budget for the new accounts and submits the settings.
  6. 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.

  1. Teacher Miss Nice decides to give Braksen another chance and add some budget to his account.
  2. She indicates to the system that she wants to add the properties of a user.
  3. She selects the user Braksen.
  4. She enters a new value for budget
  5. She submits the change to the system.
  6. The system confirms the change.

Admin Folwaczny is informed that a student has stopped his study to join the Foreign Legion.

  1. Folwaczny indicates the system that he wants to modify a user.
  2. He selects the student that stopped his study.
  3. He selects the option to delete the user and submits his changes.
  4. 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.

  1. Doe signals the system that he wants to modify several users.
  2. He selects the respective users.
  3. He picks a group to add the users to.
  4. He commits the changes to the system.
  5. The system confirms the changes.

Alternative path 2 After deleting a student from the system admin Folwaczny feels joyous and playful.

  1. He conveys to the system that he wants to modify an account.
  2. He chooses his own account.
  3. He selects the option to delete this account and submits his change.
  4. The system denies the deletion.
  5. 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.

  1. Admin Leffe indicates to the system that he wants to add a new group.
  2. He is asked for the name and enters "Students 2008-2009" as name.
  3. He also modifies the parameters for the group and sets the budget to 1337€ per user.
  4. He submits the changes to the system.
  5. The system confirms his changes.

Alternative path 1

  1. Admin Leffe indicates to the system that he wants to add a new group.
  2. He is asked for the name and enters "Students 2008-2009" as name.
  3. He also modifies the parameters for the group and sets the budget to 1337€ per user.
  4. System gives option to immediately add users to the new group.
  5. Leffe selects the users that are supposed to become members of the group.
  6. He submits the changes to the system.
  7. 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

  1. Admin Leffe indicates to the system that he wants to add a new group.
  2. He is asked for the name and enters "Students 2008-2009" as name.
  3. The system refuses to create a group of this name because the name is already taken.
  4. 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.

  1. Doe signals to the system that he wants to change a goups properties.
  2. He selects the to-be-changed group.
  3. He enters the new budget value.
  4. He submits the changes.
  5. 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.

  1. Schörghuber signals to the system that he wants to delete groups.
  2. He selects the to-be-deleted groups.
  3. He submits the changes and confirms deletion.
  4. 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.

  1. Doe signals to the system that he wants to change a goups properties.
  2. He selects the to-be-changed group.
  3. He enters the new budget value.
  4. He mistypes and types in the unrealistically high value of 1234567890€.
  5. The system rejects the value because it is higher than the admitted range for this value.
  6. Doe recognises his mistake and changes the value to 1234€.
  7. He submits the changes.
  8. The system confirms the changes.

Alternative path 3

  1. Lecturer Doe accidentilly selects a group he is part of himself.
  2. The system rejects the deletion because the current user is in one of the selected groups
  3. 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.

  1. Dhr. Pietersen logs in to the system and navigates to the add molecule pane.
  2. Pietersen enters the name "Nitroglycerine"
  3. Pietersen defines all information about the molecules he knows
  4. Pietersen saves the molecule
  5. Systems confirms

Alternative path 1 Scientist Jansen has thought of an experiment for which he needs aceton.

  1. Jansen logs in to the system and navigates to the add molecule pane.
  2. Jansen enters the name "Aceton"
  3. Jansen defines all information about the molecules he knows
  4. Jansen saves the molecule
  5. The systems rejects, a molecule with this particular sequence is already known
  6. Jansen enters the name "Aceton2" (because he is adding a isomer)
  7. Jansen does not change the setting he made earlier
  8. Jansen saves the molecule
  9. 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)).

  1. He indicates he wants to delete a molecule
  2. He selects the molecule "Aceton2"
  3. He confirms the deletion of selected molecule
  4. The system confirms deletion

Alternative Path 1 Teacher Pietersen has found an error in a molecule.

  1. Pietersen indicates he wants to change an existing molecule
  2. Pietersen selects molecule "Nitroglycerin"
  3. Pietersen corrects faulty parameters
  4. Pietersen saves changes to the molecule
  5. The system confirms changes

Alternative Path 2

  1. Pietersen has set a parameter molecule "Nitroglycerin" completely out of bounds
  2. The systems gives Pietersen another change by letting him change his (erroneous) parameters

Alternative Path 3

  1. The molecule administrator Rudolph tries to delete appears to be currently in use by a sample
  2. 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

  1. Philips indicates he wants to create a new sample
  2. Philips enters a name for the sample, he enters "Sample 3"
  3. Philips adds molecules the sample consists of
    1. Philips adds nitroglycerin
    2. Philips adds aceton, aceton is a solvent
  4. The system confirms

Alternative Path 1

  1. The system rejects, a sample with name "Sample 3" already exists
  2. Philips enters a new name "Sample 5"
  3. Philips saves the sample
  4. 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.

  1. S. Claus indicates he wants to modify an existing sample
  2. System asks for sample
  3. S. Claus selects sample S94
  4. System displays the properties of sample S94
  5. S. Claus reduces the molecular value of the reactive in the sample to half its original value and saves these changes
  6. 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.

  1. Knip indicates he wants to delete an existing sample
  2. System asks for sample(s) to be deleted
  3. Knip selects sample S776
  4. System asks for confirmation
  5. Knip confirms the deletion of sample S776
  6. 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.

  1. S. Claus indicates he wants to modify an existing sample
  2. System asks for sample
  3. S. Claus selects sample S94
  4. System displays the properties of sample S94
  5. S. Claus reduces the molecular value of the reactive in the sample to half its original value and saves these changes
  6. System confirms changes
  7. System rejects the saved changes; new molecular value is negative (typo??)
  8. S. Claus carefully enters the wanted molecular value of the reactive in the sample and saves these changes
  9. System confirms changes

Use case 'Conduct Experiment'

Basic course of events Student Englebert wants to prepare an experiment using sample S001

  1. Englebert indicates they would like to prepare an experiment
  2. Englebert selects sample S001
  3. Englebert sets hNMRparameters to desired values
  4. Englebert confirms settings
  5. System calcuylates and shows corresponding experiment costs
  6. Englebert continues the experiment
  7. System renders a hNMR signal (FID) and displays this
  8. Englebert converts the FID signal into a Fourier analysis
  9. System displays graph of Fourier analysis
  10. System confirms

Alternative Path 1

  1. Hewlett is not satisfied with experiment duration (he is running out of time) and alters settings made in step 3
  2. 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'

  1. Kermit indicates he wants to assign samples to a group
  2. Kermit selects the group named 'Muppets'
  3. Kermit selects samples S666 and S667
  4. Kermit enters the fake name 'FinalExperiment' to this series of samples
  5. 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.

  1. Zack McCracken indicates that he wants to remove an assigned experiment from a group of students
  2. Kermit selects the group 'Tentacles'
  3. From the list of experiments assigned to that group he selects the experiment 'Guybrush' to be deleted
  4. The system confirms the deletion