Blackbox Test Plan: Hospital Administration

TestIDDescription Expected ResultActual Result
AddHospitalListingTest
UC18
Precondition: Administrator has been authenticated

  1. Admin chooses to Maintain Hospital Listing
  2. Admin Enters the following information into the form:
    • MID: 9000000000
    • Hospital ID: 1569
    • Hospital Name: REX Hospital
  3. Admin submits form
Success: The Hospital is stored in the database and the transaction is logged.
ModifyEntryTest
UC18
Preconditions:
  • Administrator has been authenticated
  • and AddHospitalListingTest has been successfully completed

  1. Admin chooses to Maintain Hospital Listing
  2. Admin chooses "Edit"
  3. Admin enters the following information into the form:
    • MID: 9000000000
    • Hospital ID: 1569
    • Hospital Name: Rex Hospital
  4. Admin submits form
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

  1. Admin chooses to Maintain Hospital Listing
  2. Admin Enters the following information into the form:
    • MID: 9000000000
    • Hospital ID: 2569
    • Hospital Name: REX Hospital
  3. Admin submits form
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:
  • Administrator has been authenticated
  • AddHospitalTest and/or ModifyEntryTest has/have been successfully completed
  • Default HCP exists

  1. Admin chooses to Edit info for default HCP (MID: 9000000000)
  2. Admin selects Rex Hospital from the pull-down menu
  3. Admin submits form
Success:
The System updates the information and logs transaction

View Hospital Statistics
ViewHospStats1
UC20
Precondition: Admin exists in database and has authenticated successfully.

  1. Admin Chooses to View Hospital Visit Statistics
  2. Admin Enters <Current Date minus 1 Year> and <Current Date>
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.

  1. Admin Chooses to View Hospital Visit Statistics
  2. Admin Enters a malformed Date String
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.

  1. Admin Chooses to View Hospital Visit Statistics
  2. Admin Enters Begin Date that is After the End Date
Success:

Admin is notified of error and allowed to retry.

The event is logged.