1.A test case is a set of steps used to test a software feature.
2 It tells us what to test.
3.It includes the test steps.
4.It includes the expected result.
5.It also includes the actual result.
6.We use test cases to find bugs.
7.Test cases can be positive or negative.
8 A positive test checks valid input.
9.A negative test checks invalid input.
10.Test cases help to make software reliable and error-free.
Example:
Instagram Login Test Case – Pass & Failed
Pass:
Open the login page.
Enter a valid username.
Enter a valid password.
Click the Login button.
User is successfully logged in.
Result: Pass
Failed:
Open the login page.
Enter an invalid username.
Enter an invalid password.
Click the Login button.
Error message should be displayed.
Result: Fail
Top comments (0)