| || |
Positive and Negative Testing
Can someone explain the difference between Positive and Negative Testing with examples.
Re: Positive and Negative Testing
Positive Testing:- Testing to check whether the system does what it is suppose to do.ie, Checking for valid values only.
Negative Test Case:- Testing to check whether the system does what it is not supposed to do.ie,Checking for invalid values.
Take a simple 'Login' window with 'User Name', 'Password' and a login button.
->Now a case which will put valid username and password and will result in successful login is a positive test case.
->Another case which would result into login failure is negative one. It may enter the invalid password or invalid username or both invalid or etc.(Means the case should force functionality to get failed is basically negative test case.)