Positive and Negative Test Cases

To test or break any application testing in positive important and more than that negative testing is most important, as this can help in making a project/product most efficient.

Customers expect the quality and Clients expect the satisfaction of customers.

What is a positive scenario:
For Example if a text box is lited as a feature and in SRS it is mentioned as Text box accepts 6 - 20 characters and only alphabets.
Testing the textbox in a way as if it accepts 6 characters, accepts 20 characters & value in between 6-20 characters is a positive way of approaching.

Positive Test Cases:

  • Textbox accepts 6 characters
  • Textbox accepts upto 20 chars length.
  • Textbox accepts any value in between 6-20 chars length.
  • Textbox accepts all alphabets
Negative scenario:
For the same text box if testing is done in a negative way, as below
  • Textbox should not accept less than 6 chars
  • Textbox should not accept chars more than 20 chars
  • Textbox should not accept special characters
  • Textbox should not accept numerical s