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.
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.
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.
- Go to login page.
- Enter user id.
- Enter password.
- Click on 'Submit' button
- Verify user is logged in(by seeing username in welcome message).