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

Can you explain usability testing?

709


What is an end-to-end testing?

632


what type of testing techniques are using after accept the build?

1642


For any web application, what are the possible login features that should be tested?

813


what risks do u faced u r projest how do you solve

1637






Can anyone write test cases on google account creation page in the testing template format , urgent pls and explain if possible how to execute also

1590


What expected result should come when Enter any sql query like “Select * from hello;” without quotes and with quotes.

1222


Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.

1648


When did u complete testing ? Which scenrio should not be in automation testing ? why ?

2396


Difference between Stakeholder and Relevant Stakeholder?

1605


Define brain stromming?

645


Please send any one latest 3+ years of experience testing tools resumes my mail id is krishnavenimodaliar26@gmail.com

2883


1.what promted you to become involved in QA/Testing?

1747


In a systen design to work out the tax to be paid: An employee has Rs 4000 of salary tax free. the next Rs 1500 is taxed at 10% , the next Rs 28000 is taxed at 22% , any further amount is taxed at 40% , the nearest whole Rs, which of these is a valid boundary value analysis test case ???? a)Rs 1500 b)Rs 32001 c)Rs 33501 d) Rs 28000.

4440


What is smoke testing and user interface testing ?

663