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 |
How do you differentiate the roles of Quality Assurance Manager and Project
How to write test case template for ATM
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?
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
Explain the gray box testing?
write the test cases for traffic signal and sensor doors.
While writting Test Cases test testers have to write what test inputs/data he/she is going to use
How to write test scenarios for a Web application, with an example?
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 )
How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update
how do u call a from library file