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


Please Help Members By Posting Answers For Below Questions

What is rapid application development model (rad)?

728


what is dib format?

1474


Can you please provide me the standard testcase review templete and Test plan templete.In my company we are not following any Standards templete so.Please guve me some Excell attachments.

2139


Am putting E-commerce project in my resume can any one please tell me about E-commerce application explaination..

2443


Which was the most interesting bug you found.

2469






Diffrence b/w functional testing,functionality testing,system testing?

1610


What is back to back testing?

1490


What is Batch testing? Facets Benefit Configuration

2159


Give me sample test cases for smoke testing

8684


I studied MBA, I want learn any softwarecourse, which course is better hadoop or testing tools(manual+selenium?)

1210


If anyone have attended interview with deloitte for the post of senior manual test engineer. Please share the interview process and the questions asked. How to prepare for the interview. Thanks in advance

4400


what are risks and contigencies(solutions) of an ecommerce (online shopping and bidding project)application?we describe this in Test plan can anyone tell me abt this?

1576


how to test a web application manually?can u explain indetail?

1620


How we will do Memory Testing? There is any tool to do that testing and to whome this testing to be performed?

1511


When the GUI Testing will be held on the V model ?

1727