Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 the difference between load and stress testing?

1328


HI, This question is Investment Banking domain related Question. I was asked in an Interview to tell the 5 test cases for Equity,Bond,Futures and options. Please help.. Pragya

4523


how deployment phase of SDLC differs in product based and in service based company ?

2967


Write 10 test scenarios to test remember me checkbox present in login window

1582


Diffrernce between client server testing and web server testing.

2219


What is quality center? How many built in tables does quality center have?

1276


how many modules in ur bank project? what functionalities r there?how did u check? could u plz expalin ur banking project?

2290


How should your staff be managed? How about your overtime?

3224


Can you explain the workbench concept?

1196


Tell some examples of bug severity and bug priority?

1073


Explain crud testing.

1148


What is Independant Testing? When and where this type of testing will be performed?

2002


How will you prepare traceability matrix if there is no Business Doc and Functional Doc?

2263


What are the properties of a good requirement?

2042


is it possible web application make it as executable file

2468