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 |
Why do we need different environments and different data? What is the other name for environment? Justify your explanation ?
What is a top-down and bottom-up approach in testing?
difference beween re testing and regression testing?
20 Answers iGate, PA Consulting,
What is difference between web site testing, desktop application testing and wireless application testing? what is the difference in testing strategy to test them?
Standards of user interface testing?
AS we working in Agile methodology How you will prioritize the productlogs??
What is Alpha testing/ Beta testing?
What is the need of smoke test even when unit test is done by developers?
Explain prototype model?
How to explian the V model ?
How Sevierty and Priority are related to each other?
Infosys or Keane(caritor)? I need your help in deciding between both the companies. Please tell me the pros and cons if you happen to work with either of the companies. The placement is in Hyderabad(India)...Please help its urgent