Skip to main content

Positive Testing and Negative Testing

In Software Testing, We first verify the product and then Validate the product as per the requirement., In Both process we use some test data as input into the software and check the output. Now we match the output with the expected result if output matching with the expected result we ensure that software is working fine and if output not matches with the expected result we are sure that there are some issue which we should remove from the system. Now we can talk about the input data. We put input data in both ways Positive and Negative.

Positive Testing: In this type of testing, Test team always put the positive set of data in the input values to check the output and check the behavior of the application.  With input set the data the application should give the error when it is specified and should not provide an error when not specified. Suppose one input field which can only accept the value between 1-100. Now when we are trying to the value in between range it should not provide any error but when we trying to put the value out of the range it should shown an error. The intension of Positive Testing to check that software meeting the client requirement.

Negative Testing: In Negative Testing, Test team check the software in Invalid set of data to use as input field and to check the output. The intention of Negative Testing is to ensure that the application should not respond the error which should not be the case. As per the example explain above if i put the value 101 then if is showing the error that value is not valid then it is fine but suppose it is accepting the value and later throw an exception then this fall under the category of bug which should be resolved. 

Comments

Popular posts from this blog

What is API?

In general way, API (Application Programming Interface) is the intermediate software which is useful for two applications to communicate. API is the tool which is used for interaction of two applications. If developer developing any software which have multiple blocks (Modules) than developer use APIs to put them together.

Smoke Testing

In Smoke Testing, Testing team check the key feature or key bugs of the software. Smoke testing ensure that critical functionality of the software is working fine.If key features are not working then it is no needed to test the overall functionality because it is just waste of time. In Smoke Testing, test team check the basic feature of the software and if basic feature is not working it means software is broken very badly and further testing is unnecessary. If Smoke Testing failed then it is declared that build is unstable and revert back to developer team until smoke test is pass.

Guide to Setup Selenium Web Driver

In this Article i am describing you how to setup Selenium Web Driver in your Machine Step 1: First You need to install Java in your Computer. To download the java Click Here