Negative Validations in Web Testing


Can you suggest me the type of Negative Validations that can be performed in Automation Testing for different types of fields present in web application.

For Example,

1.Text Field
2.WebNumeric field

Any validation can be done. Focus on

  • special characters
  • long strings
  • empty strings
  • invalid characters (string in numeric input, …)
  • security (SQL injection, XSS, …)

and many other possible (expected) failures.

Hi Divya_T

For the Negative cases, I think you should have a valid input and requirement first; and then try to test the unhappy input and cases based on those requirements.
You can google for some Negative checklist and pick some of it to apply on your tests.

Thank you so much @Marek_Melocik @sang for your inputs.