| TestID | Description | Expected Result | Actual Result |
|---|---|---|---|
| AddHospitalListingTest UC18 |
Precondition: Administrator has been authenticated
|
Success: The Hospital is stored in the database and the transaction is logged. | |
| ModifyEntryTest UC18 |
Preconditions:
|
Success: The System updates the information. All transactions are correctly logged (including code 19 for Maintain Hospital Listing). |
|
| AddHospital- InvalidIDTest UC18 |
Precondition: Administrator has been authenticated
|
Success: System Notifies user that ID is invalid and allows user to try again. All transactions are correctly logged (including code 19 for Maintain Hospital Listing). |
|
| AssignHospitalToHCP UC1-S3 |
Preconditions:
|
Success: The System updates the information and logs transaction |
|
| View Hospital Statistics | |||
| ViewHospStats1 UC20 |
Precondition: Admin exists in database and has authenticated successfully.
|
Success: Then the administrator is presented with a bar chart. In the bar chart, the x axis shows the months (the time goes by from left to right) from (including) the starting month/year to the ending month/year. The y axis shows the total number of office visits. For each month, the total numbers of two types of office visits are calculated and displayed as two bar separately: the bar on the left (colored in red) is for the office visits of patients less than 18 years old and the bar on the right (colored in blue) is for the office visits of patients equal to or greater than 18 years old. The event is logged. |
|
| ViewHospStats- BadDate1 UC20-E1-1 |
Precondition: Admin exists in database and has authenticated successfully.
|
Success: Admin is notified of error and allowed to retry. The event is logged. |
|
| ViewHospStats- BadDate2 UC20-E1-2 |
Precondition: Admin exists in database and has authenticated successfully.
|
Success: Admin is notified of error and allowed to retry. The event is logged. |
|