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

How do you differentiate the roles of Quality Assurance Manager and Project

3 Answers   ABC,


How to write test case template for ATM

2 Answers   Infosys,


Write a test cases on a facebook

10 Answers   Accenture, CTS, General Electric, Intel, Inventures, Maveric, TCS,


a job should be executed for every two hours?write test case for this?

2 Answers  


If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ; A. 1 B. 2 C. 3 D. 4

1 Answers   ISTQB,


Explain the gray box testing?

0 Answers  


write the test cases for traffic signal and sensor doors.

2 Answers  


While writting Test Cases test testers have to write what test inputs/data he/she is going to use

2 Answers  


How to write test scenarios for a Web application, with an example?

2 Answers  


please tel me how to write test case for search engine to track peoples,when user enter the city,state,zipcode(ex:Kansas city,Missouri,64155)? (note country is already selected as a united states )

0 Answers   IBM,


How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update

0 Answers  


how do u call a from library file

2 Answers  


Categories