All IT Courses 50% Off
QA Interview Questions & AnswersQA Tutorials

What is Positive testing and Negative testing?

Positive testing is testing with valid data and checking if the outcome/behavior is same as expected.

Example: If a text field is supposed to accept only characters, we enter different sets of characters and see the result to check if the behavior is expected. It is positive testing.

Negative Testing is testing with invalid data and check if the application is not accepting the invalid data.

Example: If a text field is supposed to accept only characters, we enter different sets of numbers and special characters to see the result. It should not accept the invalid data. We expect an error message and if error message is appeared, it passed the testing.

Facebook Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Articles

Check Also
Close
Back to top button
Close
Close

Get Python Course
worth 499$ for FREE!

Offer valid for 1st 20 seats only, Hurry up!!

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

H2kinfosys Blog will use the information you provide on this form to be in touch with you and to provide updates and marketing.