what is positive and negative testing explian with example?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
Answer / xxx
Negative Testing:
Giving an invalid data.
Positive Testing:
giving valid data
| Is This Answer Correct ? | 16 Yes | 10 No |
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 |
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 |
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 |
Which is not formally included in Test Plan? 1)Features to be tested 2)Incident reports 3)Risks 4) Schedule Pls reply .Thanks
what is difference between load ,strss and perofrmance??? can u explain me with example???
I need your help, actually am facing lots of problem in interview am not able to answer in right way what ever questions asked about project. Could you please answer few questions? You must have seen the project I have mention as current project so please help on this, tell me how to explain project in details am prepare on HR module but don’t know how to explain it properly. If you can send me few documents like SRS, and few test case that will help me to get the clear picture, and want ask u what is tier1, tier2, and tier3 in project.
what is meant by Priority and Severity?
Description--->There are 5 modules in my application. On every module there is a date box. In 1st module, date box is used for 2 submenus. My Question is ---> Should I have to write test cases for date box for every modules & submenus?
who will give priority for testcase?
If there are so many bugs open and still the client want the s/w what will you do?
What is quality center?
what is migration testing?
You have a testing team of 10 members, and now you have to reduce it by 5 member and you dont want to increase risk in your product, you are try to cover all functionality to test. What test Strategy you follow.
Test case preparation time Vs Test case execution Time. Say for example if 500 Man hour takes to prepare test case then how long test case exexution will take?
what is a bad defect and why do we write bad defects?