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 |
Do we have to write the seperate test cases for System testing and UAT testing? And also what are the roles and reponsibilities of a tester/how to interact when End users are performing the UAT Testing.
regression testing falls under white box or black box testing?
What is a test case?
How do you differentiate the roles of Quality Assurance Manager and Project
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
Define some of the attributes of a test case?
Explain the soak testing?
I need GUI test case for home page?
test cases for black board test cases for pencil
How to generate test cases for 'replace a string' method?
Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com
how to write test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?