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

Why Jmeter is best option for Performance Testing?

There are multiple tools in market for performance testing of any software but Jmeter is the best solution among all of them due to some reason listed below 1) Jmeter is the open source application so users who use this application will not to pay anything. 2) You can use Jmeter for performance of any web application,  Databases and Web Services (REST and SOAP APIs). 3) Jmeter have the user friendly UI component so it is very easy to use. 4) Jmeter can be used to simulate to put maximum number of concurrent users on a server, network or object to test its strength or to analyze overall performance under different load types. 5) Jmeter also use for functional testing for static( JavaScript and HTML) and dynamic( JSP, Servlets and AJAX) resources. 6) Jmeter provides Verity of graphical representations for performance report so it is easy to understand.

How You Can Test Database?

Now we know the Database Testing which you can learn in my last article. In this article we will discuss about the steps that need to following to test any Database. Database Tester should have some basic knowledge regarding SQL Command like DDL (create/drop),  DML (Insert/Delete/Update) and DCL (Grant/Revoke).

Causes of Software Defects

It is practically impossible that developer develop a bug free software and that software we can deliver without Testing. If the complexity of the software increased then there must be bugs that can harm the users who will use that software.