Can any one please tell me what is the use of negative test
cases when we are giving the invalid input in test data

Answers were Sorted based on User's Feedback



Can any one please tell me what is the use of negative test cases when we are giving the invalid i..

Answer / sn

Well negative test cases define what not to be occurred when an action is done.
Technically " A negative test case is when the test is designed to determine the
response of the product outside of what is defined".
so When an Invalid input is given in test data Negative test cases help to find out wrong functionality.


As it is the main aim of an Tester to test functionality of every application both positive and negatively.



ex: The field shall accept numbers between 1 and 1 000 000.



negative test values:
enter 0
enter 1000001
enter -
enter -1000
enter 1000000000000000000
enter 1 000 (notice the space)
enter 1,000 (notice the comma)
enter 10.0 (notice the decimal point)
enter 10,0 (notice the comma not quite the same as the one above)
enter a
enter A
enter z
enter Z
enter o
enter !
enter $
enter $100 (other currency symbols as well)
enter your name
leave the field blank (could be a positive test)

Is This Answer Correct ?    4 Yes 0 No

Can any one please tell me what is the use of negative test cases when we are giving the invalid i..

Answer / hemavathi.gajjala

If u will enter invalid input system should disply pertular error. for example
Take user name and password
i entered correct user name,wrong password
system should display please enter crrect password
insted of system displayed please enter correct user name.but we are expecting system should display please enter correct password.

Is This Answer Correct ?    2 Yes 0 No

Can any one please tell me what is the use of negative test cases when we are giving the invalid i..

Answer / rohit

Negative test cases are written so as to check how the
system/software behaves when invalid input is entered.

System should display the appropiate error message as per
the validations that are configured. It should not get
crash. It should not get hang.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Test Cases Interview Questions

how to write test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?

0 Answers   PMC,


why we need a test plan

11 Answers  


write the system testcase and functional testcase for the below scenario scenario: view the balance in online account

0 Answers  


By clicking the file button on a Word document and opening the Print window, Identify what needs to be white box tested and what needs black box testing. (On the black box testing items, identify boundary conditions and equivalence partition testing is possible and give data examples.)

0 Answers  


how to test an imaging application that removes the red eye affect from an image?

1 Answers   Adobe,






Explain the domain testing?

0 Answers  


In a log in page what will be test procedure,test scenario,test discription & test steps?

1 Answers  


What is the role of QA in a company that produces software?

5 Answers  


How to perform a stress test on an ATM machine? (Note ATM is a Bank ATM say Citibank, IICICI etc)

7 Answers  


wirte the test cases for triangle by using testing techniques

8 Answers   Blue Star, George Mason, HP,


can u tell me how do we writetestcases for perfomance,load,And stress?

2 Answers   IBM, Wipro,


What is the role of a tester in the test plan preparation? What elements tester physically develops in the test plan document.& what exactly this document contains?

4 Answers   Blue Star,


Categories