How to write Negative test cases?

Answer Posted / avashesh

Negative test cases are written to test the output of the
system on providing the invalid input. Primary objective of
negative test cases is "System should not break in case of
invalid input."
ex: If System contain a field called postal code which can
only accept numeric value of length 6 then negative test
case would be
1. Enter 5 characters in postal code field
2. Enter alphanumeric characters in postal code field

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is data guidelines

1629


What are testing techniques? What is difference between general and specific?

1621


What are the types of maintenance?

595


What is the difference between Functional testing and Unit Functionality testing?

1526


What is the responsibility of programmer’s vs QA?

1809






How does a coverage tool work?

688


what are the functional test cases for enter user name,enter pass word,click on ok(only functional test cases)

1940


write test condition for testing SMS service of a mobile phone maximun length is 100 character while sending and 80 character for receiving write test scenarios do not write test cases

3040


how will you estimate of your website?

1663


Write the test cases for godaddy home page

1231


You must test a trouble report where the problem cannot be reproduced. You tried using various test data files and mutations from the data files the customer sent along with the trouble report. The software does not fail the way it did at the customer's site.

2090


What is Cyclometric testing?

1754


how to create automation frame work ?

1586


How much the bug is affecting the functionality of the application?

634


What is common interface?

1515