---
title: Importance of Positive & Negative Scenarios in Testing
description: Testing is a vital part of project delivery that it has become unthinkable to neglect or spend less time on it. In this blog, the author has explained the importance of Positive & Negative Scenarios in Testing.
---

[![e-Zest logo\_An accion lab company\_Colour](https://blog.e-zest.com/hubfs/images/Logos%20with%20Tagline/Corporate/SVG/e-Zest%20logo_An%20accion%20lab%20company_Colour.svg "e-Zest logo_An accion lab company_Colour")](https://www.e-zest.com/)

- [WORK](https://www.e-zest.com/our-work)
- [SERVICES](https://www.e-zest.com/our-services) 
    - [Product Engineering](https://www.e-zest.com/digital-product-engineering-services)
    - [Enterprise Data Services](https://www.e-zest.com/enterprise-data-services)
    - [Digital Commerce](https://www.e-zest.com/digital-commerce-services)
    - [Digital Operations](https://www.e-zest.com/digital-operations)
    - [Digital Consulting](https://www.e-zest.com/digital-transformation-consulting-services)
    - [Digital Experience Design](https://www.e-zest.com/digital-experience-design)
- [INSIGHTS](https://blog.e-zest.com/)
- [CAREERS](https://www.e-zest.com/careers)
- [ENTERPRISE DATA SERVICES](https://www.e-zest.com/enterprise-data-services)
- [GENERATIVE AI](https://www.e-zest.com/generative-ai)
- [Healthcare](https://healthcare.e-zest.com)
- [Contact Us](https://www.e-zest.com/contact-us)

- ![Elevating Product Engineering with AI and ML](https://blog.e-zest.com/hubfs/Elevating%20Product%20Engineering%20with%20AI%20and%20ML.jpg)

  [BLOGS](https://blog.e-zest.com)
  
  #### Elevating Product Engineering with AI and ML

  As technology evolves and customer choices broaden, there is an increasing ...

  [Read more](https://blog.e-zest.com/elevating-product-engineering-with-ai-and-ml)
- ![e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024](https://blog.e-zest.com/hubfs/e-Zest%20%E2%80%93%20An%20Accion%20Labs%20Company%20-%20Gets%20Recognition%20as%20a%20Contender%20in%20the%20ISG%20Provider%20LensTM%20Study%20on%20Digital%20Engineering%20Services%202024.jpg)

  [NEWS](https://blog.e-zest.com/news)
  
  #### e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024

  We are delighted to announce that e-Zest – An Accion Labs Company has been ...

  [Read more](https://blog.e-zest.com/news/e-zest-an-accion-labs-company-gets-recognition-as-a-contender-in-the-isg-provider-lens-study-on-digital-engineering-services-2024)
- ![e-Zest Solutions supports Digital Pune Mission](https://blog.e-zest.com/hubfs/blog-files/Digital%20Literacy%20Bus%20e-Zest.png)

  [CSR](https://blog.e-zest.com/csr)
  
  #### e-Zest Solutions supports Digital Pune Mission

  **Pune, India:** e-Zest Solutions, a leading digital technology innovation ...

  [Read more](https://blog.e-zest.com/csr/e-zest-solutions-supports-digital-pune-mission)

- [Work](https://www.e-zest.com/our-work)
- [Services](https://www.e-zest.com/our-services)
- [Insights](https://blog.e-zest.com)
- [Careers](https://www.e-zest.com/careers)
- [Enterprise Data](https://www.e-zest.com/enterprise-data-services)
- [Generative AI](https://www.e-zest.com/generative-ai)
- [Innovations](https://www.e-zest.com/innovations)
- [Healthcare](https://healthcare.e-zest.com)
- [About](https://www.e-zest.com/about-us)
- [Contact](https://www.e-zest.com/contact-us)

- [Blog](https://blog.e-zest.com/)
- [News](https://blog.e-zest.com/news)
- [CSR](https://blog.e-zest.com/csr)

- [![Linkedin Icon](https://blog.e-zest.com/hubfs/icons/linkedin_icon_white.svg)](https://www.linkedin.com/company/e-zest-solutions/)
- [![Twitter Icon](https://blog.e-zest.com/hubfs/twitter-logo-silhouette%20(5).svg)](https://twitter.com/ezest)
- [![Facebook Icon](https://blog.e-zest.com/hubfs/facebook-app-logo%20(4).svg)](https://www.facebook.com/61259256638)
- [![Instagram Icon](https://blog.e-zest.com/hubfs/instagram-logo%20(4).svg)](https://www.instagram.com/ezestsolutions/)
- [![Youtube Icon](https://blog.e-zest.com/hubfs/icons/youtube_icon_white.svg)](https://www.youtube.com/user/ezestcorporate)

[![Go to top icon](https://blog.e-zest.com/hubfs/AA%20Assets/top%20button.svg)](https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing#top)

Hit enter to search or ESC to close

Insights

e-Zest members share technology ideas to foster digital transformation.

- [Blog](https://blog.e-zest.com)
- [News](https://blog.e-zest.com/news)
- [Podcasts](https://www.e-zest.com/podcasts)
- [Healthcare](https://blog.e-zest.com/healthcare)
- [CSR](https://blog.e-zest.com/csr)
- [Whitepaper](https://blog.e-zest.com/whitepaper)
- [Playbook](https://blog.e-zest.com/playbook)
- [Media Kit](https://www.e-zest.com/media-kit)

# Importance of Positive & Negative Scenarios in Testing

[Kirti Mansabdar](https://blog.e-zest.com/author/kirti-mansabdar)  Oct 20, 2016

[Testing](https://blog.e-zest.com/topic/testing) [Positive Testing](https://blog.e-zest.com/topic/positive-testing) [Negative Testing](https://blog.e-zest.com/topic/negative-testing) [Boundary Value Analysis](https://blog.e-zest.com/topic/boundary-value-analysis) [Equivalence Partitioning](https://blog.e-zest.com/topic/equivalence-partitioning)

- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing&title=&summary=&source=>
- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing&text=Importance%20of%20Positive%20&%20Negative%20Scenarios%20in%20Testing>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing>
- <https://www.instagram.com/ezestsolutions/?u=https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing>

Testing is a vital part of project delivery that it has become unthinkable to neglect or spend less time on it. There are so many ways to test an application; it doesn’t matters which way you have taken. Having said this, it’s important to consider both positive as well as negative test scenarios and more attention towards negative scenarios.

We commonly some across testing positive scenarios but testing a negative scenario is more important. Most of the bugs are found during the negative testing. Positive path should work but how the system or application behaves in negative scenarios has to be keenly observed. We need to keep an eagle eye on this aspect while releasing the application.

***Positive Testing:***

Positive testing means testing the happy path of the functionality. Application should meet the business requirements. Consider the following example:

![Blog\_1-2.png](https://blog.e-zest.com/hs-fs/hubfs/Blog_1-2.png?width=238&height=100&name=Blog_1-2.png)

There is one text box which accepts only numbers/ integer values; say the range is from 0 to 10. That means the all positive test falls in between 0 to 10’s range. Here are the ways to test the text box:

1. By entering: 2
2. By entering: 5
3. By entering: 7
4. By entering: 10

Clearly positive testing is carried out using the values which falls in the given specified range.

***Negative Testing***

Negative testing means testing the application off beat, so that we can understand the behavior of the application to the negative entries. Consider the same example. Here are the possible ways to carry out the negative testing for the text box:

1. By entering alphabets. Ex: abcd
2. By entering special characters. Ex: @#\*
3. By entering alphanumeric values. Ex: abc12
4. By entering floating value. Ex: 12.34
5. By using boundary value analysis & Equivalence Partitioning techniques

 In all mentioned ways, validation message should be displayed as, “Please enter only numbers” etc. First four ways are easy to understand, we will directly go to the last one that is boundary value analysis & Equivalence Partitioning techniques.

- ***Boundary Value Analysis***

Most of the bugs are found during this technique. In simple words, checking the boundary limits of the given range is nothing but Boundary Value Analysis. Now consider the above example, range is specified as 0 to 10, means we need to test the application using one below the boundary and one above the boundary, that is we should test the text box for -1 (one less than lower limit) and for 11 (one greater than upper limit) values.

When the application is tested using the values given in this range then it is called as positive testing, but when the values are chosen out of the range it is called as negative testing. We have to test the application in both the ways. Positive testing to confirm, application meets business requirements and negative testing to understand the behavior to the negative entries.

- ***Equivalence Partitioning***

This is also another technique to find out the bugs. In this technique we divide the given ranges in 2/3 equal parts and then carry out the testing, so probably the chances of getting bugs are more. Consider above example, range is 0 to 10 integer values, then divide this in two groups so the groups would be {0 to 5} and {6 to 10}. If the test is passed by entering numbers 0 and 5 that means test case is pass for all the values that falls in the range of {0 to 5}.

We have to test the application using boundary values as well as Equivalence Partitioning techniques. For above example we can consider the set of values as: {-1, 0 to 5, 6 to 10, 11} where:

-1 is one less than lower limit

0 to 5 & 6 to10 is Equivalence Partitions

11 is one more than upper limit

Equivalence Partitioning technique is used in both the testing scenarios that is positive as well as in negative testing. Same partition can be used while doing positive testing so that it will reduce the time & efforts. 

- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing&text=Importance%20of%20Positive%20&%20Negative%20Scenarios%20in%20Testing>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing>
- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/importance-of-positive-negative-scenarios-in-testing&title=&summary=&source=>

### Similar Blog

[![For IOT testing - you need to cook your own recipe!](https://blog.e-zest.com/hubfs/sneha-internet-of-things-testing-20170825.png) For IOT testing - you need to cook your own recipe! Most of us start our day with an alarm clock, our cell phone gives us the appointments across the day, news from across the globe ... By Yogesh Kale Aug 28, 2017](https://blog.e-zest.com/for-iot-testing-you-need-to-cook-your-own-recipe)

[![Automation testing from Selenium IDE to WebDriver](https://blog.e-zest.com/hubfs/img-1-12.png) Automation testing from Selenium IDE to WebDriver Scripts recorded in Selenium IDE can be easily transferred to and run from the WebDriver. You just have to export the test case ... By Uddhav Naik Aug 04, 2016](https://blog.e-zest.com/automation-testing-from-selenium-ide-to-webdriver)

[![Application performance testing for modern world](https://blog.e-zest.com/hubfs/madhav_sir_blog_image_20160705.png) Application performance testing for modern world Majority of applications today are designed and built to run over internet and in different browsers, across multiple devices. ... By Madhav Deshpande Jul 05, 2016](https://blog.e-zest.com/application-performance-testing-for-modern-world)

[![Continuous Performance Testing](https://blog.e-zest.com/hubfs/CPT.jpg) Continuous Performance Testing **Continuous Performance Testing**is the process of executing performance tests, scripts as part of the software delivery to obtain ... By Kishore Bhamare Jun 06, 2016](https://blog.e-zest.com/continuous-performance-testing)

[Points to contemplate before automation testing In recent years, automation testing within software industry has transformed at all stages. Irrespective of its popularity, a lot ... By Kirti Mansabdar Dec 13, 2016](https://blog.e-zest.com/points-to-contemplate-before-automation-testing)

[![Bug Life Cycle](https://blog.e-zest.com/hs-fs/file-3520297668-jpg/blog-files/bug-life-cycle.jpg) Bug Life Cycle As software professionals, we are familiar with the word ‘bug’. It refers to the flaws in the program that make it to behave in ... By Kirti Mansabdar Oct 29, 2015](https://blog.e-zest.com/bug-life-cycle/)

[![Why is Documentation Important in Software Testing?](https://blog.e-zest.com/hs-fs/file-3419271351-png/blog-files/why-is-documentation-important-in-software-testing-.png) Why is Documentation Important in Software Testing? When we hear the term documentation, several questions arise in our mind: By Kirti Mansabdar Jul 27, 2015](https://blog.e-zest.com/why-is-documentation-important-in-software-testing/)

[Databases Hello Friends! I would like to share some points regarding databases. I know it’s a very vast subject & it can’t be covered in ... By Kirti Mansabdar May 07, 2014](https://blog.e-zest.com/basic-database-concepts/)

## Helping Organizations Thrive in the Digital Age

[Contact Us](https://www.e-zest.com/contact-us)

- [About](https://www.e-zest.com/about-us)
- [Services](https://www.e-zest.com/our-services)
- [Work](https://www.e-zest.com/our-work)
- [Insights](https://blog.e-zest.com/)
- [Healthcare](https://healthcare.e-zest.com/)
- [Accion Labs](https://www.accionlabs.com/)

- <https://www.linkedin.com/company/e-zest-solutions/>
- <https://twitter.com/ezest>
- <https://www.facebook.com/eZest/>
- <https://www.instagram.com/ezestsolutions/>
- <https://www.youtube.com/user/ezestcorporate>

- Dallas
- Detroit
- Hannover
- Vienna
- London
- Pune

 © 2025 e-Zest Solutions

- [Privacy Policy](https://www.e-zest.com/privacypolicy)
- [Cookie Policy](https://www.e-zest.com/cookie-policy)

 Contact us

 Contact us

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.