what is positive and negative testing with example?

Answer Posted / archana

Provide inputs in such a way that up on the usage of these
inputs we would successfully pass the feature in working as
per its specifications.This kind of a testing is positive
testing.For example: to login to gmail account we need to
give authenticated/registered correct user id and password
and submit.
Whereas in negative testing, we deliberately introduce the
invalid inputs in order to fail the application. For a
login into gmail account we can have 4 types of negative
inputs. i.a valid id but invalid password, ii. an invalid
id with correct password, iii. invalid id and password, and
iv. enter all correct values but press a cancel button
after entering the data.
Hope this will clear your query.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Functional and Integration test scenarios for actitime application

6376


How to test the below code and write test case? Prove that this code is wrong? int add(int a ,int b) {return a+b; }

1591


What is split testing?

694


what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?

1951


i) functional test cases can we consider for regression test ? or we have to write separet test cases for regression test ? ii) How to write the system test case and what are the technique shall we have to follow ?

1859






what comments have u given in peer review? tell me at least 3 comments what u have given? july27 brahma412@yahoo.co.in

1515


What is the difference between load and stress testing?

722


How can write testcases on a code under development pls give asnwer

1542


how to write defects in excel sheets when defects occured

1528


ANY ONE HAS ATTENDED THE INTERVIEW FOR WIT INNOVATION P LTD? THEN KINDLY LET ME KNOW ABOUT THE INTERVIEW PROCESS AND QUESTIONS ASKED.

1744


I have 2 yrs 10 months experience in manual testing. there is a gap of 3 yrs in between. just 3 months before i rejoined the same company. I am looking for new & better job.What I have to enhance my career to up level, should I have to do Automation course or any other. Guide me properly.

1455


wat are the questions would the project leader ask about the project?? please do send the answers early.

6568


What is bidirectional traceability ??? and how it is implemented

1697


we are about to implement a Test tool to test the performance of website, so what script does a tester should know (friends plz help me)

1522


What is the role of the test group vis-?is documentation, tech support, and so forth?

1613