Positive Effect of Negative Testing
Many tests are positive: they check that an application accepts valid data and processes it correctly. A negative test checks whether the application handles improper user behavior correctly. For instance, a positive test would be to open the File | Save As dialog in a text editor, enter a valid file name and then confirm the file was saved successfully. A negative test would be to open the File | Save As dialog, enter an invalid file name or path and check whether the application handles this invalid input data properly. If a developer has not anticipated this situation, the application will crash. So, it's important to use both positive and negative testing approaches when testing your application.
We’ve published an article that discusses negative testing concepts, typical negative test cases and how negative tests can be created with TestComplete. Enjoy!
Negative Testing With TestComplete »