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 is effect variance ,Budget variance , Schedule Variance , Defect Density ?

3 Answers   Tech Mahindra,


How to do risk management?

2 Answers  


how clients are using this application?

2 Answers   Wipro,


what is change request, and how to manage the changes..

1 Answers  


1. When you consider employing a failure mode and effect analysis?

1 Answers   Hewitt,






What is stub?

0 Answers  


How to derive test requirements from SRS?

3 Answers   Covansys,


what is format of the final report u submitted to ur client?

1 Answers  


I m beginner to testing.. plz send me manual testing material or tell me best site for testing where i can get from fundamentals...

2 Answers  


what is difference between interface and integaration testing?are system specs and functional specs same please tell the difference

4 Answers   pspl,


If you are the Test Team Leader and one of the Team Member is not supporting and not working according to your expectations what would you do? how will u handle him?

3 Answers  


what is differnec between the Acceptance test plan and System test plan?

2 Answers  


Categories