Positive Testing and Negative Testing

Posted By : Nitin Kumar | 27-Feb-2018

Software testing is the way toward confirming and approving a product application or to check whether it is according to the specified requirements or not. The aim is to discover abandons and enhance the item quality. There are two approaches to test a product, These are  Positive Testing and Negative Testing.


What is Positive Testing?

Positive testing is the sort of testing that can be performed on the framework by giving the legitimate or valid information as info. It checks whether an application responds properly by giving the valid information as input. This test is done to check the application that does what it should do.
                                                                           

For Eg
There is a Textbox in an application which can acknowledge or accept only alphabets. Entering alphabet from a to z or A to Z will be accepted by the application and some other esteems separated from this ought will not be accepted. To do positive testing, the Entered value should be from (a to z or A to Z) and check whether the application will respond accordingly or not.

 

What is Negative Testing?

Negative Testing is a variation of testing that can be performed on the product or application by giving invalid information as info. It checks whether an application acts of course with the negative information sources. This is to test the application does not do anything that it should do as such.

                                            
In above Eg , Negative testing can be performed by entering numbers from  0 to 99999 .Either programming framework ought not acknowledge the qualities or else it should toss a blunder message for these invalid information inputs.The message  “Only alphabets are allowed “ should render.

 

In both the testing, following should be considered:

1.Input

2.Activity or action which should be performed

3.Output result

 

Conclusion:

Testing conveys quality programming application and guarantees the product is bug free or defect free before the product is released. For successful testing, utilize both - Positive and Negative testing which give enough trust in the nature of the product. Continuous clients are can enter any esteems and those should be tried before release.

Related Tags

About Author

Author Image
Nitin Kumar

Nitin is a QA Engineer. He is adaptive and passionate to learn new technical skills.

Request for Proposal

Name is required

Comment is required

Sending message..