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
What is configuration management in software testing ?
List the considerations in developing testing methodology
You want a automation tool to be used for your project. How will you convince the client for the same. Please give me specific answer.
How the application is launched to the production environment?
Can anybody give me some tips on how to face telephonic interview and Write some expected telephonic questions as a 2+yr exp. in testing. Try to give Ques. that u already hv faced in telephone. Plz Help me out friends.
Write the test cases for godaddy home page
Anyone tell me the test cases of Shopping Favorite
What kind of testing to be done in client server application and web application? Explain
What is security Hole ? Is this possible Some one can acess any of restricted page (like admin side)? How you test this previllaze?
can u write some high level scenarios on ms outlook express
What are testing techniques? What is difference between general and specific?
What is the Difference between Network testing and Web Testing?
What type of projects can include in Logistics Domain? and what is the type of domain for project which include Driving license renewal, Different type of title registration etc...
What are the main key components in client and server applications?
What is baseline testing?