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 |
If any bug is found in exploratory testing, then may I consider it as a test case?
What are the two ways to create test scripts?
Identify correct statement
What is manual testing?Is any different types of testing in this?
10.What is stub?
what is the criteria for selecting automation testing ?
12. How long have you been involved in Web development or management?
If Tester found the bug in build 2.0.0 tester will assign it to developer but not get fixed in next build 2.0.1 then tester have to assign it again for every build if not get fixed upto build 2.0.7 or not? Same question is for version also?
when there is no enough time to compleate the test what you will do ?
6 Answers Infinite Computer Solutions,
What is the difference b/w test case and scenario?
As a test Engineer what are all the challenges you faced in your project? It takes more time to answer this question but i said wrong... Could anybody answer atleast 4 or 5 answers
2 Answers Hexaware, Sreeven Infocom,
What should be tested when Unit Testing is conducted?