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
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 |
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 |
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 |
You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. If width > length then biggest_dimension = width else biggest_dimension = length end_if the following has been added to the bottom of the code fragment above. Print 'biggest dimension is ' &biggest_dimensionprint 'width: ' & width print 'length: ' & length how many more test cases are required?
write a test case for yahoo compose page?
How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?
Write test cases for bulb.
can any one give the format of writing test cases in excel sheet.
How to write test case for this scenario. The system shall allow for a wild card search for the last name with a minimum of one character
Write test cases on for windows media player?
What is the difference between Test Input and Test Data??
In a log in page what will be test procedure,test scenario,test discription & test steps?
Hi there Just done with QTP training. I am looking out for a job. can any one share your experinces in real time job. I mean How the work flow goes and what other things do i have to learn for getting a job. please respond ASAP this is urgent for me. Regards Lina.
Imagine that hotmail is the application taht ur going 2 test write 10 critical test case to test it ?
write the test cases for facility module