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

How to test Webservices and how can we write test cases for that

2904


Write the use cases for following 1. Comment section of Facebook 2. Instagram status Implementation

498


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 )

3520


How to write test cases or test scripts for UAT testing which is done manually

4955


How to write email id in world wide web

1439






150 integration testing scenarios for gmail

12049


How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?

1956


Write a test case on online shopping website? (please tell me the format how to write in MS excel,if u have any sample than attach it.)

3913


How to write test case for this scenario. The system shall compare the requested name with the Service Member Name field in the database

1532


How to write the test cases for STP

5122


write a test case flipkart login page

5266


how to write test cases in interview exam like one website it contain a/c # text box, current bill amount text box,sms offer,calling offer,internet these 3 are list boxes and remindmelater,continue these 2 are buttons. and qu is like 1.user doesn't have any dues from past 90 days,2.whose bill amount >= rs2000 from past 6 months. use this 2qu write testcases.

2130


Explain the integration testing?

710


What are semi-random test cases?

869


Can you list down a few characteristics of a test case?

715