Top
Distinction between Positive and Negative Testing
Positive
Testing (Valid)
|
Negative
Testing (Invalid)
|
1.
Positive Testing means testing the application or system by giving valid
data.
|
1.
Negative Testing means testing the application or system by giving invalid
data.
|
2.
In this testing tester always check for only valid set of values.
|
2.
In this testing tester always check for only invalid set of values.
|
3.
Positive Testing is done by keeping positive point of view for example
checking the mobile number field by giving numbers only like 9999999999.
|
3.
Negative Testing is done by keeping negative point of view for example
checking the mobile number field by giving numbers and alphabets like
99999abcde.
|
4.
It is always done to verify the known set of Test Conditions.
|
4.
It is always done to break the project and product with unknown set of Test
Conditions.
|
5.
This Testing checks how the product and project behave by providing valid set
of data.
|
5.
This Testing covers those scenarios for which the product is not designed and
coded by providing invalid set of data.
|
6.
Main aim means purpose of this Testing is to prove that the project and product
works as per the requirements and specifications.
|
6.
Main aim means purpose of this Testing is try to break the application or system
by providing invalid set of data.
|
7.
This type of Testing always tries to prove that a given product and project always
meets the requirements and specifications of a client and customer.
|
7.
Negative Testing is that in which tester attempts to prove that the given
product and project does, which is not said in the client and customer
requirements.
|
Positive
and Negative Test Scenarios with Example
Positive and Negative testing can be used in different
set of scenarios, but below is given the scenario of login form on which these
two types of testing are used.
For example you are doing the testing on login form
which have following fields like Username field, Password field, and Sign In,
Sign Up, Cancel, Login Button etc. Now you have to perform the positive and
negative test scenarios on that, so your criteria for doing positive and negative testing are given
below:
Now positive scenario of login form is that you enter
the valid username and password in the username and password field, and then
click on Login Button to check whether the user is able to login or not.
No comments:
Post a Comment