what is positive and negative testing explian with example?

Answers were Sorted based on User's Feedback



what is positive and negative testing explian with example?..

Answer / smruthi

Positive Testing - testing the system by giving the valid
data.
Negative Testing - testing the system by giving the Invalid
data.
For Ex,an application contains a textbox and as per the
user's Requirements the textbox should accept only
Strings.By providing only String as input data to the
textbox & to check whether its working properly or not
means it is Positive Testing.
If giving the input other than String means it is negative
Testing..

Is This Answer Correct ?    140 Yes 13 No

what is positive and negative testing explian with example?..

Answer / harry

All of you need to educate yourself. Whenever you answer a
question in interview, make sure you leave no room for
further question being asked due to weak answer. Make sure
you use the appropriate testing terminology to reflect good
answer.
Postive testing is about validating the feature with right
input data so that it could be verified that functionality
works and behaves as per the requirement and need of the
user. (equivalence partitioning)
Negative testing is about:
1. validating the feature on the negative input data where
it shows error message or prompts for the right input etc.
(equivalence partitioning)
2. Breaking the feature by going beyond its negative
validation limit. (this is identified thru Boundary value
which has upper edge on the equivalence partitioning, means
BVA improves the EP)
Note: Both Positive and negative testing helps us find bugs.

The right terminology used for valid and invalid input is
Equivalence partitioning as well as Boundary value
analysis. The positive and negative testing is a straight
influence from these. Once these concepts are clear then
only you can perform the testing. I know that these to
techniques help you to prepare test cases with maximum
coverage of functionality testing which covers positive and
negative test conditions but its obvious that these are the
foundation of positive and negative testing. There is no
limit to perform negative testing but these two techniques
also helps us to define a specific range within which we
use some set of inputs to test the functionality. Postive
is something which you can test within a range but negative
is mostly limitless.

Apart from this Error guessing is also a very good way to
perform the testing. where a tester uses his skills of
sniffing for functionality failure (again a negative
testing), experience to find the bugs, adhoc testing to
find bugs etc.

Cheers
Harry

Is This Answer Correct ?    45 Yes 8 No

what is positive and negative testing explian with example?..

Answer / mohan

Testing aimed at showing software works. Also known as "test
to pass". See also Negative Testing.


Testing aimed at showing software does not work. Also known
as "test to fail". See also Positive Testing.

Is This Answer Correct ?    26 Yes 8 No

what is positive and negative testing explian with example?..

Answer / murugan

positive test case: system reacts when giving the input
that should be user or s/w requrements.
-ve: by i/p that should be abnormal or independent of the
s/w req. in this condition how the system will behave.

Is This Answer Correct ?    25 Yes 9 No

what is positive and negative testing explian with example?..

Answer / 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

what is positive and negative testing explian with example?..

Answer / indu

positive testing is nothing but an testing the build by
giving the valid input data.which yeilds all passed
results.this testing is done with the intention of test
shuld be passed.

negitive testing is nothing but testing the bulid by giving
the invalid input data.which yeilds all negative
results.this testing is done with the intention of test
shuld be failed.
as Helios & Matheson has given the example u can cosider
that example itself.

Is This Answer Correct ?    14 Yes 4 No

what is positive and negative testing explian with example?..

Answer / xxx

Negative Testing:
Giving an invalid data.


Positive Testing:
giving valid data

Is This Answer Correct ?    16 Yes 10 No

what is positive and negative testing explian with example?..

Answer / raja tiwari

its nothing only test the s/w with valid data is called
"positive testing".


and testing the data with invalid data is called "negative
testing".

Is This Answer Correct ?    2 Yes 0 No

what is positive and negative testing explian with example?..

Answer / yogesh makani

Testing aimed at showing software works. Also known as "test
to pass". See also Negative Testing.


Testing aimed at showing software does not work. Also known
as "test to fail". See also Positive Testing.

Is This Answer Correct ?    2 Yes 4 No

what is positive and negative testing explian with example?..

Answer / famitha jasmine.a

positive tsting:-

when a test case verifies the requirements of the product
with a set of expected output

Negative testing:-
The product dose not fail when an unexpected input
is given

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More Manual Testing Interview Questions

What are the types of testing that apply in web applications and not in client/server application (Ex. Broken links i.e there in web, not there in client/server) and also the vice versa

3 Answers   CFC,


what are the disadvantages og v-model over waterfall model?

1 Answers   Aditya Birla, HCL,


What is srs and brs document?

0 Answers  


What is Retesting & Regression Testing? When do we use retesting & regression testing(i.e In what situation)? Please clear me.

6 Answers  


what is the difference between regression testing and retesting?

3 Answers   ITC Infotech,






What is smoke testing and sanity testing?

1 Answers   Cap Gemini,


We also offering SOA TESTING, MAINFRAME TESTING, MANUAL & QTP WITH LIVE PROJECT

0 Answers  


what is the difference between compatibilty testing and configuration testing?

6 Answers  


What is Testing Measurements and Metrics explain in detail? What is the need of this in the Test Strategy document?

1 Answers   HP,


the typical Application Test Lifecycle?

1 Answers  


To write the test case for Login Window test condition is 'User must be created'so while writting test case for Login window may I have to write all steps of creating user or how should I write test cases

2 Answers   Infotech,


write 5 critical test cases on product payment form on flipkart.com?

0 Answers  


Categories