Wednesday 23 July 2014

Test Case

A Test Case is a set of conditions or steps under which a tester determines whether requirement upon a software application is satisfied or not. To complete a requirement it may take one or many test cases as there can be hierarchy of requirements.
Test Case


A Test Case generally contains three states:
1) Input data to the system
2) State of the system at which data is to be input
3) Output expected from the system.

Test cases involve Value based analysis, Boundary based analysis and True/False based test cases.
Test cases are the part of Test Plan.
A Test Plan must contain at least one test case in order to execute it.

Example: Below is a simple test case example for login screen.
  1. Go to login page.
  2. Enter user id.
  3. Enter password.
  4. Click on 'Submit' button
  5. Verify user is logged in(by seeing username in welcome message).

No comments:

Test Case