Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Explain transaction testing?

0 Answers  


How do you review the test cases which are prepared by your team member. answer is: using traceability matrix, matching testcases with the requirements. He again asked - assume that all the test cases are matched with the requirements, then what do you do, how do you proceed in this case..

2 Answers   Mind Tree,


How to write test case on paper and pen.

5 Answers   TenXLabs, Wipro,


Who will take care of test plan and test case?

0 Answers  


How to write test cases for the following scenario: The system shall limit the search result display to 200 records. Do we need to write test data for it. How do we create a test data for it.

0 Answers  


Write a test scenario for a project which is developed in a VB then after wards it is converted in Java and there is no documentation available.

2 Answers  


In an online shopping application there are 3 text boxes.One of Login,Add to the shopping cart and Purchase goods.Which & How many test cases can be written for these 3 text boxes?

2 Answers  


write the test case flipart.com

2 Answers   Satyam,


what is parametrization ? How do you parametrize in qtp ?

1 Answers   CTS,


how to write a test cases for courier offices?

0 Answers  


what are the testcases for square

4 Answers  


plz tell how to test this: We have to change the password of password field the condition is:The password will expiry after 30 days and that should not allow last 12 similar passwords....

2 Answers   ACS,


Categories