Home > Software > Testing > Manual-Testing
Interview Questions   Tutorials   Discussions   Programs   Videos   

Manual-Testing - Give an example for positive and negative scenario?




250
views
asked marvit October 7, 2014 01:37 AM  

Give an example for positive and negative scenario?


           

1 Answers



 
answered By shallu   0  

In positive testing our intention is to prove that an application will work on giving valid input data. i.e. testing a system by giving its corresponding valid inputs.

For example: Consider Drupal webpage containing a textbox whose specified requirement in the SRS document is to accept only numbers. In that case when we perform positive testing, we will give only numbers as input data in the textbox and analyse whether the application is working properly or not. Here, our expectation is that the text box should accept the given input values. In negative testing our intention is to prove that an application will not work on giving invalid inputs. In the same above example, while performing negative testing, we will give alphabets and special characters as input data in the textbox. Then we will check whether the application behaves as expected with the invalid input data. Here, our expectation is that the text box will not accept invalid values and will display an error message for the wrong entry.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert