Skip to main content

Boundary Value Analysis

We already discussed that to test any application we need the definite set of input data to use as a input in out application. By using that input, system generate some output and we match that actual output with our expected output ( as per the defined Requirement).
Now we know that it is not possible to test the application with each and every set of input data because Exhaustive Testing is not possible so to avoid this Exhaustive Testing we set the boundary on input data for our application and check the application in that boundary. By using this boundary values, we can test our application with each and every set of input data and find bugs in that boundaries.

We know that maximum errors found at the boundaries of the input set of data so Boundary value analysis technique is defined to finds the errors on boundary rather then finding those exists in the center of input domain.  Normally Boundary Value Analysis is the part of Stress Testing and Negative Testing.

Now let me provide you an example to understand the Boundary Value Analysis. Suppose there is a text box who accept the value between 1 to 100 now as per the Boundary value analysis following will be the scenario.
  1. First Test case we will use the input data which is on the boundary means 1 and 100.
  2. Second Test case we will use the test data just below the boundary on both side means 0 and 99.
  3. Third Test case we will use the test data just above the boundary on both side means 2 and 101.
So the test cases that you need to test the input is L, L-1, L+1 for lower value and U, U-1, U+1 for upper value so as per above example the test cases will be 0,1,2,99,100,101 but we need only 4 test cases which is 0,1,100,101 to test the input value. You will learn this in Equivalent Partitioning. I will explain Equivalent Partitioning in my next post. 

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.