what is positive and negative testing explian with example?
Answer Posted / cody
Positive - Checking whether the application works according
to documentation or not.
Negative - Checking whether the application does what it
should not and does not when it should.
Positive and Negative Testing is a concept. Meaning this is
a way of thinking. They should not be associated with a
specific testing technique like equivalence partitioning.
They can be used within the technique but do not replace
the technique.
Requirement:
Employee can be contacted at work from 7:30am - 5:00pm
Let's use a truth table:
Start End Test Result
Test 1 - - -
Test 2 - + -
Test 3 + - -
Test 4 + + +
Test 1:
Start - Contact Employee at 7:29am (-)
End - Contact Employee at 5:01pm (-)
Test 2:
Start - Contact Employee at 7:28am (-)
End - Contact Employee at 4:59pm (+)
Test 3:
Start - Contact Employee at 7:30am (+)
End - Contact Employee at 5:02pm (-)
Test 4:
Start - Contact Employee at 7:31am (+)
End - Contact Employee at 5:00pm (+)
I have already identified which tests are negative using
the truth table. Only test 4 is a positive test. Why? Test
4 is the only test that has valid inputs verifying the
requirement is fulfilled. The other tests are derived from
the requirement but are invalid inputs.
Feel free to e-mail me any feedback.
| Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
where do we work with Application, web and Database servers Means which type of applications.
How do you determine user soad for a perf test of a Web application?
What is split testing?
can anyone help me in getting unix on manual testing i.e can u forward material & web sites to my mail id (suresh_57599@yahoo.com) to understand how the work flow working on manual testing on unix and the contents.plzzzzzzzz help me its urgent.
Tell me agile process in your company
What is exploratory testing and when should it be performed?
How do you go about testing a project?
Define Stability, Scalability and reliability with example ?
PLEASE CAN ANYONE SEND ME THE TEST SCENARIO BASED QUESTIONS FOR 3+ EXPERIENCE IN MANUAL TESTING
What is the difference between a standalone application, client-server application and web application?
can u merge 10GUI map files into a single GUI map file in winrunner?
Which was the most interesting bug you found.
Need to know about Quality Center in brief
What is the difference between qa, qc, and testing?
What about the test case if the field only takes a certain number of characters or a minimum number?