Test Specifications
Project Name: Health GuRoos
Group:Pharm1
Focus:TestSpecifications
Version / Date / Author / ChangeDescription1 / 04/06/06 / Linda Bichage / Draft 1
TABLE OF CONTENTS
1TEST SPECIFICATIONS
2BULLETIN BOARD INTEGRATION TESTS
2.1Provider Chooses User Question
2.2Students Read and Discuss Questions and Post to Provider
2.3Provider Rejects Students Answer
2.4Provider Approves and Posts Students Answer
2.5Provider Updates User Administrative Settings
2.6Provider Adds a Student User
2.7Provider Updates Categories Discussed
3USER WEBSITE INTEGRATION TESTS
3.1Ask Question
3.2Read Answer to Previously Asked Question
4SYSTEM TESTS
4.1Test Procedure
1TEST SPECIFICATIONS
The purpose of this document is to outline the test cases to be used in the different stages of the software development process. Integration and system testing will be covered in this document.
Integration tests include individualized unit test and are ongoing through the software development process. The user website and bulletin board will be examined through the integration testing phase.
System tests will be carried out by performing a series of integration tests and all team members will participate in this testing stage. Errors and system failures will be recorded and documented for the test report.
2BULLETIN BOARD INTEGRATION TESTS
2.1Provider Chooses User Question
ID: / Test Case2.1Item or Feature: / Choosing Question
Objective: / The Provider has an administrative role and can thereforeview all incoming questions posted to the website and post the questions to a student discussion group, or can discard the question altogether.
Setup: / The Provider logs onto the website, the Question option is available, and there are questions submitted for answering.
Expected Output: / Questions to Accept, Answers to Approve, and Questions to Review should appear. The question to be accepted should be removed from the list once chosen by the provider.The question should appear in the students’ discussion area.
Test Procedure: / 1. Select ‘Questions’.
2. Select a title under ‘Questions to Accept’.
3. Option 1: Select ‘Discard Question’
4. Option 2: Enter text into ‘Discard Reason’ box, and select ‘Discard Question’.
5. Option 3: Select ‘Accept Question’.
6. Log in as student in the discipline to make sure question has been submitted for
discussion.
2.2Students Read and Discuss Questions and Post to Provider
ID: / Test Case 2.2Item or Feature: / Discussion with Student or Provider
Objective: / Ascertains that aStudent can access the bulletin board, read selected posted questions, post answers, and submit a final answer to the Provider.
Setup: / The student is logged into the home page and the ‘Questions’ option is available.
Expected Output: / A set of questions to discuss should be visible. Text boxes for comment titles and comments should be visible. Discussion should be visible. Text boxes for comment title and comments should be visible. The answer should be gone from questions to answer. The provider should see the comments in answers to approve section.
Test Procedure: / 1. Click on the questions option.
2. Click on question to be answered.
3. Select Answer or Comment button.
4. Option to add a Title for the postfield.
5. Type text into comment text box.
6. Select ‘Post Answer for review’.
7. Select title to the same question to see responses.
8. Select the final answer or comment.
9. Select ‘Post Answer to Provider’.
10. Login as a Provider to make sure question has been submitted.
2.3Provider Rejects Students Answer
ID: / Test Case 2.3Item or Feature / Post rejection comment to Students
Objective: / To make sure that a Provider can comment on answers posted by the Studentand send comments back to Students.
Setup: / The Provider is logged onto the bulletin board and the Administration option is available. The student has submitted an answer for approval.
Expected Output: / The question to accept, approve and review should be visible. A comment title text and text box with the students’ comments should appear. The question should be removed from the questions to approve section and appear in the students questions to answer section.
Test Procedure: / 1. Select the ‘Questions’ option.
2. Select a question under the answers to approve section.
3. Option to enter a comment in comment title box and text box.
4. Submit comment.
5. Look under question category in the student section to make sure comment was
received.
2.4Provider Approves and Posts Students Answer
ID: / Test Case 2.4Item or Feature: / Post answer to health website Users
Objective: / To ascertain that a Provider can post questions and answers to the questions that submitted from the User website.
Setup: / The Provider is logged onto the bulletin board and the Administration option is available.
Expected Output: / Questions to accept, approve and review should appear. Comment title text and text box should appear. The question should be removed from the questions to approve section. The user’s answer should be posted to the website.
Test Procedure: / 1. Select the ‘Questions’ option.
2. Select a question under the ‘Answers to Approve’.
3. Option to enter a comment in comment title box.
4. Select ‘Submit Answer’
5. Look under question category to make sure answer has been posted to user
website.
2.5Provider Updates User Administrative Settings
ID: / Test Case 2.5Item or Feature: / Add or Remove student permissions
Objective: / To add and delete student permissions for discussions on the bulletin board.
Setup: / The Provider is logged onto the website and the ‘Administrator’option is available.
Expected Output: / The menu visible as well as the of User Administration and On Call Administration. The student profile should be visible and the permissions Student, Provider and Administrator should be available. The user capabilities should be updated according to the administrator’s actions.
Test Procedure: / 1. Select the Administration option.
2. Select User Administration.
3. Select the user’s name.
4. View their profile and change the permissions.
5. Option 1: Select ‘Update’
6. Option 2: Select ‘Delete’
2.6Provider Adds a Student User
ID: / Test Case 2.6Item or Feature: / Add a Student user
Objective: / To add a student as a bulletin board member.
Setup: / The Provider is logged onto the website and the ‘Administrator’ option is available.
Expected Output: / Current bulletin board users should be visible. The option to create a new user should be available. The option to enter a new member’s name, user name and permissions should be available. The user list should reflect the new user.
Test Procedure: / 1. Select the Administrator option.
2. Select ‘Add New User’.
3. Enter UMKC user name for the user name field.
4. Enter thebulletin board member’s first and last name.
5. Select permissions.
6. Select the create option button or cancel the action.
2.7Provider Updates Categories Discussed
ID: / Test Case 2.8Item or Feature: / Update the topics available on the user website
Objective: / To enable the ability to add, remove or rename a category on the user website.
Setup: / The Provider is logged onto the website and as an Administrator.
Expected Output: / The main administrative page with current providers should be available. The list of current categories should be visible. A text box to provide a new category title should be available. The new category name should appear in the category spreadsheet. The category list should reflect the added or updated category.
Test Procedure: / 1. Log in as an Administrator.
2. Select ‘Update Categories’.
3. Select Edit next to category desired to change.
4. Enter new category name into Category Name field.
5. Select update.
6. If the category is new, select Create new and provide the category name.
7. Submit changes and verify that the changes are reflected on the User website.
8. Option to cancel the action.
3USER WEBSITE INTEGRATION TESTS
3.1Ask Question
User website to bulletin board
ID: / Test Case 3.1Item or feature: / Ask and Submit a question
Objective: / To ascertain that a user can submit a question which will be received by the bulletin board after posting to the database.The user should receive verification that his/her question was submitted and be directed back to the Health GuRoos home page.
Setup: / The userhas accessed theHealth GuRooshome page. A menu to select subject categories, text box for title to question, and text box for user’s question are visible.
Expected Output: / After step 4, an error message should appear notifying the user that a title must be entered for their question. After step 7, the user should be viewing the gratitude webpage. After step 8, the user should be returned to the Q&A home page. After step 9 the tester should be able to view the category, question title, and question in the database.
Test Procedure: / 1. Select category from drop down box.
2. Option to add title to the question
3.Type in question.
4. Select ‘Submit Question’.
8. Option to ask another question, return to the home page, or go to ‘Previously
Asked Questions’.
9. Log in to database to verify that the question was received.
3.2Read Answerto Previously Asked Question
User website
ID: / Test Case 3.2Item or feature: / Search categories and select previously asked questions
Objective: / To ascertain that a user can read previous questions and answers from the past 3 months.
Setup: / The user has accessed the HealthGuRooshome page, there are questions listed under categories.
Expected Output: / Titles should be visible to the website user. The user should be directed to the question location and its answer and other details surrounding the question.
Test Procedure: / 1. Select the category.
2. Selectthe desired question.
3. The information should appear for viewing.
4SYSTEM TESTS
4.1Test Procedure
System tests will be derived from the specified tests cases. A system test would contain a series of test cases to test the system as a whole and evaluate the functionality of the system from a website user perspective, and from a bulletin board perspective. One such system test is outlined below:
1) 3.1 Userasksa question
7) 3.2 User reads Answer to Previously Asked Question
2) 2.1 Provider choosesthe user question
3) 2.2 Providers and students read and discuss the question and post to provider
4) 2.3 Provider rejects students answer
5) 2.4 Provider approves and posts students answer
6) 2.6 Provider Adds a Student User
7) 2.8 Provider Updates Categories discussed
1