How to write negative testcase?
Answers were Sorted based on User's Feedback
Answer / kayessor bangalore
we write the testcases against Business requirement
specifications,that is called negative test cases.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / abhijit
Hi,
continoue with same example i.e. login test case
for example Username=test & password=test
If you try to login into the system with Username=plan &
password=plan
System gives error message "Please enter valid username &
password"
this is the kind of negative testing.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ruhi
Working against the specified functionality. Nothing but
testing the functionlaity to fail.If a particular action is
specified to show a result of "X" for an input of only
value "A". Then trying to work with values other than "A"
is nothing but a negative test case.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ram balaji
we will test the application prevently what are all the
possibles for accuring a error.To test against the customer
requierments.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / semo
Suppose ur testing login screen.
If u enter username and if u donot enter pwd and try to
click login button..At this time the system should give
error message as "Enter Pwd"..
in order to test these type of things..you will do
Negative testing .Prepate the test data like the aboue.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vardhani
negative test case is used to check when a wrong data is
entered into the application or the product, it should
indicate that it as an invalid input. By writing negative
test case you should get the positive result that is your
expected result (ie. it must show it is wrong).
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the difference between Smoke Test & Sanity Test?
10 Answers Qualtree Solutions,
What are the drawbacks of manual testing?
write the test case for Bulb & Mobile phone
What is the difference between functional specifications and non-functional specifications ?
How amny times u met ur P.M?(In P.M)
define STLC life cycle step by step
What is TEST PLAN, TEST STRATEGY, TEST SCENARIO, TEST CASE, TEST SCRIPT? can any body give me definition with example.
Can you tell me some thing about source code testing tools?
how many test cases are posible to write on textbox. but it is allows the 0-10 digits numaric
What are the basic concepts of database that a software tester should know?
What r the sequences that leads to automation?
How to prepare boundary value test cases for 3 input values eg: to get the triangle type i am giving 3 sides a, b, c values should be 1<=a<=200,1<=b<=200,1<=c<=200....