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
hi all I have an overall experience of 12 years working in an EDP setup(worked in a manufacturing setup in a German MNC). On my request, I was relieved from my duties in Sep 06 for maternity reasons. However I would like to pursue a career in a software organization as a manual tester. I obtained my proficiency certificate in Software Testing from STAG SOFTWARE LIMITED 2 months ago i.e in May and would now like to continue working in this field. However I am unable to find a job until now. If anybody knows of a opening at bangalore, kindly let me know.
How do i write a test condition to test the following simple program with the intention of 100% statement coverage Print “Hello World” If Date $ = ‘01-01-2000’ then Print “Happy New Year” END IF PRINT “The date is = “Date $ PRINT “The time is = “Time $ END Could anyone please clarify in detail. Would really appreciate it....
Hi....Friends....If anybody having Sample CSTP question papers, pls send it to the following Id... Thanks n advance... theramkumar@gmail.com
Zenq interview questions for manual testing
Which test cases are written first: white boxes or black boxes?
As you are working with cmmi level 5 company ,can you tell me what processes you r following as QA engineer?
how to indentify memory leakages after the build
can somebody plz tel me about financial domain for manual tester?? which kind of application use and what is the approach of testing??
How is ‘build’ different from ‘release’?
Hi If anyone from banglore want to know the real time senario like writting Test cases and how things actually happens in a company. I am taking a 2 hours class which will cover all the real time experiance and guidence for job. classes are counducted only at weekends. for further queries mail me at vinodhanandhan@gmail.com Vinodh Anandhan Software Test Engineer vinodhanandhan@gmail.com
What is Cyclometric testing?
what is the most critical bug u have to find in ur project.My application is ERP based,in this purchase module is there.plz tell me the answer?
Architectural structure of the insurance project?
1.What types of documents would you need for QA, QC, and Testing?
What are the different ways of doing black box testing?