Steps to Write a Test Case:
Test Case Template Should Contain:
- Test Case Title
- Preconditions
- Test Steps
- Expected Results
- Background check points(if any)
- Comments (If any).
Example: Verify the functionality submit button in the login site after entering valid user name and password.
Preconditions: Details containing:
- URL to access the application / program to test.
- Access Details like user name and password to use.
- Navigation details of the functionality to test.
- Pre-steps that needs to be taken to test the functionality.
1. Open IE9 for the test.
2. From Tools remove the Pop up blocker
3. Valid User name and Password User name: Test1, Password: Password
Make sure that the login for the user already exists.
Test Steps: Step by Step navigation details for the user to follow to execute the test case.
Example:
- Open the URL to test www.mail.yahoo.com in IE9.
- Enter the valid User name and Password (as mentioned in Pro conditions)
- Do not select "Keep me Sign in" option
- Click for Submit button
Expected Results: The output by following the above steps as per the functionality of the system.
Example:
1. User should be able to login into the yahoo site.
2. Default main page should open with Inbox being highlighted and listing all the email from the inbox.
Background Check Points: If anything that gets logged in the DB along with query once the test case is executed(for cross verification).
Comments/Spl Notes: What other ways and environments the above test steps can be executed to get the expected Results.
Example: IE 7, Chroma, FireFox.
This is to avoid move number of test cases with the same condition in different environments.
No comments:
Post a Comment