can anybody tell the difference between negative test case and negative testing. give one example how to write a negtive test case for a textbox which accepts only5 characters
RE: can anybody tell the difference between negative t...
Hi manoj Negative testing means to show that the software is not working for that you have to enter invalid data & to test the software with distructive mind to fail it.
RE: can anybody tell the difference between negative t...
Yes Mahendra is correct.Neagative Test Cases means writting test cases with negative perception.i.e. In BDD we have that a Text box accepts only 10 charactes.Then for that field we write test cases by consisdering numbers alphanumerics and special characters.Negative Testing means execution all these negative test case perceptions on that field of the AUT
RE: can anybody tell the difference between negative t...
Negative testing : Here testing is conducted to break the software. (i.e) test cases are prepared in such a manner that the software or application is not working fine.
Negative testcases : Testing the application for the datas that are not defined in the SRS document.
Say for example if the input data to be entered is a character type input so the negative testcases are : testing the application for alphanumeric numeric all special characters.
if it is a mandatory field means left the field empty and fill other fields with positive data and click the appropriate button and then check whether it displays the error message or not. This type of testing an application is known as negative testing
RE: can anybody tell the difference between negative test case and negative testing. give one example how to write a negtive test case for a textbox which accepts only5 characters
Hi Pattabiraman.A.C
If you are going to check error message on mandatary field then in this case how you are going to break the application as mentioned by you in the definition of negative testing?
As per my understanding this should be mentioned in SRS.
RE: can anybody tell the difference between negative test case and negative testing. give one example how to write a negtive test case for a textbox which accepts only5 characters
The negative test case is writing testcases for the negative teating that is the system must not accept the values. For text box your rquirement is the system should accept 5 charecters.
The next test cases are
1. Less than 5 charecters 2. More than five charecters 3. Give numbers 4. Special charecters 5. Space 6. Null charecters.