Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CASS
CLINIC APPOINTMENT SCHEDULER SYSTEM
Table of Content
1. Introduction..................................................................................................................3
1.1 Purpose................................................................................................................3
1.2 Scope........................................................................................................................3
1.3 Intended Audience...............................................................................................3
1.4 Document Terminology and Acronyms...............................................................4
1.5 References............................................................................................................4
1.6 Document Structure.............................................................................................4
2. Evaluation Mission and Test Motivation.....................................................................4
2.1 Background..............................................................................................................4
2.2 Evaluation Mission..............................................................................................4
2.3 Test Motivators....................................................................................................5
3. Target Test Items..........................................................................................................5
4. Test Cases....................................................................................................................6
4.1 Login....................................................................................................................6
4.2 Logout..................................................................................................................7
4.3 Create Patient Profile (Patient)............................................................................7
4.4 Create Department (Administrator).....................................................................8
4.5 Create Type Appointment (Administrator)..........................................................9
4.6 Create Doctor Profile (Administrator)...............................................................10
4.7 Book an Appointment(Patient)..........................................................................11
4.8 Doctor consults appointment.............................................................................13
4.9 Edit Doctor Profile (Administrator)...................................................................15
4.10 Edit Patient Profile.............................................................................................16
4.11 Cancel Doctor’s Appointment (Administrator).................................................17
4.12 Cancel Doctor’s Appointment (Doctor).............................................................18
4.13 Cancel Patient’s Appointment (Patient).............................................................18
1. Introduction
This document is to serve as Master Test Approach for the Clinic Appointment
Scheduler System (C.A.S.S.).
1.1 Purpose
The purpose of the Master Test Plan is to gather all of the information necessary to plan
and control the test effort. It describes the approach to testing the software, and is the top-
level plan generated and used by team members to direct the test effort.
In This Test Plan for the CASS supports the following objectives:
Identifies the items that should be targeted by the tests.
Identifies the motivation for and ideas behind the test areas to be covered.
Outlines the testing approach that will be used.
Identifies the required resources and provides an estimate of the test efforts.
Lists the deliverable elements of the test project.
2. The Test Approach sets the scope of system testing, the overall strategy to be
adopted, the activities to be completed, the general resources required and the
methods and processes to be used to test the release. It also details the
activities, dependencies and effort required to conduct the System Test.
3. Test Planning details the activities, dependencies and effort required to conduct
the System Test.
4. Test Conditions/Cases documents the tests to be applied, the data to be
processed, the automated testing coverage and the expected results.
1.2 Scope
The C.A.S.S. is a web-based application system. The project is a team effort. As such, it
will be necessary to unit test, integration test, and system test the project according to the
functional requirements of the system as outlined in the SRS. The test plan presents data
and database integrity, function, integration, unit user interface, performance profiling,
and also installation testing.
1.5 References
[1] Pankaj Kamthan, http://cmvl.cs.concordia.ca/courses/comp-5541/fall-2005/ (current
September 22, 2005).
Evaluation mission : contains a brief background on this project and its objectives
Test motivation: contains a brief background on the motivations for testing
Target test items: includes what tests will and will not be performed
Outline of planned tests
Test approach: contains the actual tests that were performed and how the tests
were carried out.
The second goal of testing is to discover symptoms caused by bugs by using many small
detailed tests. To make these tests repeatable, test cases must be designed, tested, and
documented. Only then, can useful regression testing take place.
Finally, bugs must be clearly diagnosed so they can be easily corrected.
1. Login
2. Logout
3. Create Patient Profile (Patient)
4. Create Department (Administrator)
5. Create Type Appointment (Administrator)
6. Create Doctor Profile (administrator)
7. Book an appointment (Patient)
8. Doctor Consults appointments
9. Edit Doctor Profile (administrator)
10. Edit Patient Profile
11. Cancel Doctor's Appointment (Administrator)
12. Cancel Doctor's Appointment (Doctor)
13. Cancel Patient's Appointment (Patient)
4. Test Cases
4.1 Login
Rational: There are three kinds of uses of C.A.S.S: patient, doctor, and administrator. To
use the C.A.S.S system, all uses need to be identified and authorized. Users enter their
username and password to login the system. After their username and password are
verified, a corresponding menu page (either administrator menu page, doctor menu page,
or patient menu page) will be on the left frame of the page based on user’s role. (either
patient, doctor, or admin). Meanwhile, a session will store username and other key
information to trace user’s state.
Case 4: Not enter any username or Display error message “ please input
Login page password your username and password to
retry.”
Press login button.
Case 5. Click “Signup” button to Link to the “register as new patient ”
Login page register as a new patient page.
Case 6 Click “try again” hyperlinks Links to the login page for users to
Login fail retry.
page
4.2 Logout
Rational: after users logout, they are not be able to use system unless they login again.
Therefore, after user logout, the login page will be re-directed, and the related menu
pages(admin menu page, or doctor menu page, or patient menu page) are not available.
Also, after logout, user should not be able to return to the previous web page by clicking
“backward ” button on web browsers.
CASE 2 Leave all the fields empty Display an error message that user
Press Submit button needs to fill in the required
information
Ask the user to enter information in
the form again
CASE 3 Fill in the fields according to an Display a message that the record
existing patient already exists
Press Submit button
Case # Input Data Expected Results
CASE 4 Fill in the fields as required Display an error message that required
Leave mandatory field/s empty field/s is not filled in
Press Submit button Ask the user to enter information in
the form again
CASE 5 Fill in a field and exceed the limit Display an error message to show
of number of characters/digits which field is not entered correctly
allowed
Press Submit button Ask the user to enter information in
form again
CASE 6 Fill in a field with characters/digits Display an error message to show
not allowed for that field which field is not entered correctly
CASE 2 Fill in the fields according to an Display a message that the record
existing Department already exists
Press Submit button
CASE 3 Leave all the fields empty Display an error message that user
Press Submit button needs to fill in the required
information
Ask the user to enter information in
the form again
Case # Input Data Expected Results
CASE 4 Fill in the fields in form as Display an error message that required
required field/s is not filled in
Leave a mandatory field empty Ask the user to enter information in
Press Submit button form again
CASE 5 Change a field and exceed limit of Display an error message to show
the number of characters/digits which field is not entered correctly
allowed
Press Submit button Ask the user to enter information in
form again
CASE 6 Change a field with Display an error message to show
characters/digits not allowed for which field is not entered correctly
that field
Ask the user to enter information in
Press Submit button form again
CASE 3 Leave all the fields empty Display an error message that user
Press Submit button needs to fill in the required
information
Ask the user to enter information in
the form again
Case # Input Data Expected Results
CASE 4 Fill in the fields in the form as Display an error message that required
required field/s is not filled in
Leave a mandatory field empty Ask the user to enter information in
Press Submit button form again
CASE 5 Fill in a field and exceed limit of Display an error message to show
the number of characters/digits which field is not entered correctly
allowed
Press Submit button Ask the user to enter information in
form again
CASE 6 Fill in a field with characters/digits Display an error message to show
not allowed for that field which field is not entered correctly
Rationale: After logging into CASS, the patient has the option to schedule an
appointment. In order to successfully schedule an appointment, the patient must follow a
five step process: select appointment type, select month and year, select day, select time,
and confirm. Once this five step process had been successfully completed, the patient will
receive a confirmation.
CASE 2 Change the fields in Update form Display an error message that required
as required field is not filled in
Leave a mandatory field empty Ask the user to enter information in
Press Update button form again
CASE 3 Change a field and exceed limit of Display an error message to show
the number of characters/digits which field is not entered correctly
allowed
Press Update button Ask the user to enter information in
form again
CASE 3 Change a field with Display an error message to show
characters/digits not allowed for which field is not entered correctly
that field
Ask the user to enter information in
Press Update button form again