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

Imagine that hotmail is the application taht ur going 2 test write 10 critical test case to test it ?

2 Answers  


i m a fresher working in healthcare industry. here we hve no tool for testing. how i ll do manual testing?plz suggest anyone me urgently... i knw to write test case bt i dont knw where to write n how to execute it manually

2 Answers   Cognizant,


Write test cases for orkut?

2 Answers  


Can any one please help me with this? I have application, for this no KT session or FS are provided, So now i have taken bottom-top approach, by writing the system testcase using the application. But my TL told me to write regression testcase. What i understood about regression testcase is that-For one scenrio or testcase multiple data, So testing the same scanario with different multiple data. Is this right or Wrong?

2 Answers   ABC,


What is gray box testing?

0 Answers  






write testcase for sql table? this is the question asked by interviewer?

4 Answers   IBM,


write the test cases for pen

13 Answers   GE, NEDA,


They were asking sily questions and definitions rather than practical experience related questions. More focused on Definitions.

0 Answers  


Explain the state testing?

0 Answers  


What are the test cases to write to test user account locksout after 5 invalid attempts

2 Answers  


is it necessary to write test cases in tabular form or will point wise will do.

3 Answers   Google, Zycus Infotech,


Write all test cases for any credit card.

13 Answers   SIT,


Categories