Testing of any Software can be categorized into Positive and Negative. Positive Testing is a process of testing which is performed to verify the application by providing valid inputs. In this testing, testers will be providing valid inputs to the Application under test and verify whether the application is working as expected with valid inputs. This testing is performed to identify the defects which result when the application is not working as expected even after providing valid inputs. In Positive Testing, testing team will first go through the Client Requirement specifications, creates positive tests using valid inputs and finally verifies the positive tests to check whether the application is working as expected with valid inputs. In simple terms, positive testing is – “Testing the application by providing valid data as input”.
Examples of Positive Testing: Let’s take a text box field which can intake valid email address as input. In positive testing, we provide a valid email address as input to the text box field and verify whether the text box field is intaking valid email without giving any errors. The below diagram depicts a sample positive test scenario:
Another example for understanding Positive Testing: Let’s say as per the Client requirements, the End User should only be able to enter the text of size 5 to 10 characters into a ‘Username’ text box field. For performing Positive Testing for this requirement, we need to come up with the below Positive scenarios:
- Positive Test # 1:: Enter text having minimum characters (i.e. 5 characters) into the Username field
- Positive Test # 2:: Enter text having maximum characters (i.e. 10 Characters) into the Username field
- Positive Test # 3:: Enter text having the characters count between 5 and 10 (i.e. Say 8 characters) into the Username field
Conclusion: Positive Testing is an important process in Software Testing, where the testing is performed by providing valid inputs to the application and verifying whether the application is working as expected with the valid inputs.
Please leave your questions/comments/feedback below.
Happy Learning 🙂
Arun Motoori (www.QAFox.com)