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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i am preparing for interviews in real time job what test cases we have to prepare please explain with example?

2120


What is component testing?

957


Do you know explain security testing?

892


There is French dictionary and if you want to check it in English and there is no documentation available then how you will test it and write a test case and Test scenario on it.

3330


In manual testing, I have query regarding data conversion testing. I am working on xml document. How do we write test cases for below input as well as for output Input: 1. software Testing Output: 1.software testing

1594


Explain the functional testing?

877


What are all the companies are doing manual testing till now ?

1765


Explain the unit testing?

878


write test cases for hospitality management system

2263


Explain the load testing?

854


Write the test case for a login page?

898


write test case for pen cap if it is not present?

2301


User registration form so many details will be there to enter like Username,Phone No,Email id ect.how do we write test cases for that? in one textbox i have to write all the test cases and go to next textbox

1401


hai we need to get some data from a logfiles and populate into database .to check this we need to write test cases .how to write test case for this scenario tell me as functional and stress testing differ

2044


Test Case for Text Editor!

2994