Difference between revisions of "BBB BUC SAdmin MngProf"
Line 101: | Line 101: | ||
|- | |- | ||
|Actor accepts (chooses to delete). ||System delete section record from db. || | |Actor accepts (chooses to delete). ||System delete section record from db. || | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Postconditions:''' Manage professors page. | ||
+ | |||
+ | |||
+ | '''Scenario 6:''' Upload subject list | ||
+ | |||
+ | |||
+ | '''Preconditions:''' Manage professors page. | ||
+ | |||
+ | |||
+ | {| class="wikitable" border="1" cellpadding="5" | ||
+ | |- | ||
+ | ! Actor !! System !! Data Used | ||
+ | |- | ||
+ | |Actor chooses to upload list of subjects. ||System returns prompt for uploading list. || | ||
+ | |- | ||
+ | |Actor chooses file and accepts. ||System parses file and updates db with subjects information. || | ||
|} | |} | ||
'''Postconditions:''' Manage professors page. | '''Postconditions:''' Manage professors page. |
Revision as of 11:12, 14 June 2013
Brief Description: This is a template to copy and paste into other pages.
Scenario 1: Add subject to professor
Preconditions: Manage professors page.
Actor | System | Data Used |
---|---|---|
Actor types professor username into search box and chooses to search. | System searches db and LDAP for username and returns professor's subjects (if found). | Professor username |
Actor chooses to add a subject. | System returns page with editable fields. | Course Code, Course Name |
Actor chooses to save changes. | System persists changes to db. |
Postconditions: Manage professors page.
Scenario 2: Edit professor's subject
Preconditions: Manage professors page.
Actor | System | Data Used |
---|---|---|
Actor types professor username into search box and chooses to search. | System searches db and LDAP for username and returns professor's subjects (if found). | Professor username |
Actor chooses to edit a subject. | System returns page with editable fields populated with chosen subject's details. | Course Code, Course Name |
Actor chooses to save changes. | System persists changes to db. |
Postconditions: Manage professors page.
Scenario 3: Delete professor's subject
Preconditions: Manage professors page.
Actor | System | Data Used |
---|---|---|
Actor types professor username into search box and chooses to search. | System searches db and LDAP for username and returns professor's subjects (if found). | Professor username |
Actor chooses to delete a subject. | System returns prompt asking for confirmation. | |
Actor accepts (chooses to delete). | System delete subject record from db. |
Postconditions: Manage professors page.
Scenario 4: Add section to professor's subject
Preconditions: Actor is editing a professor's subject. Edit subject page.
Actor | System | Data Used |
---|---|---|
Actor chooses to add a section to the subject. | System returns a field for entering section letter. | Section letter |
Actor chooses to save section | System returns visual notification indicating a new section has been added. | |
Actor chooses to save changes. | System creates new section for professor. |
Postconditions: Manage professors page.
Scenario 5: Delete professor's
Preconditions: Actor is editing a professor's subject. Edit subject page.
Actor | System | Data Used |
---|---|---|
Actor chooses to delete a section. | System returns prompt asking for confirmation. | |
Actor accepts (chooses to delete). | System delete section record from db. |
Postconditions: Manage professors page.
Scenario 6: Upload subject list
Preconditions: Manage professors page.
Actor | System | Data Used |
---|---|---|
Actor chooses to upload list of subjects. | System returns prompt for uploading list. | |
Actor chooses file and accepts. | System parses file and updates db with subjects information. |
Postconditions: Manage professors page.