software testing genius

Boundary Value Analysis-BVA an effective method of Test Case Design

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

Boundary Value Analysis-BVA an effective method of Test Case Design

Boundary Value Analysis is a data selection technique in which test data is selected from the "boundaries" of the input or output domain classes, data structures and procedure parameters. Selection mainly include the actual minimum and maximum boundary values, with a tolerance of (+ 1 or - 1) on the maximum and the minimum values.

Boundary Value Analysis is similar to Equivalence Partitioning, however it focuses on "Boundary or Corner Cases".

Although according to Equivalence Partitioning definition, testing of one value from a particular class is equivalent to doing the testing of any other value from that particular class; since boundaries are more prone to errors, hence boundaries of equivalent classes need to be given more close consideration.

Following type of test cases utilizing boundary value analysis are considered for various range of values.

a) Two valid test cases covering the extreme ends.

b) Two invalid test cases immediately across the range limits.

face="Verdana, Arial, Helvetica, sans-serif">Let us take an example program where we consider "Pay" as an input having values 12000 to 35000 in the valid range. The program calculates the corresponding tax with following assumptions:

1) Pay up to Rs. 15000 Tax is Zero

2) Pay between 15001 and 25000 Tax is 18 % of Pay

3) Pay above 25000 Tax is 20% of Pay

Here the valid input domain can be divided into three valid equivalent classes like:

Class c1 : Values in the range 12000 to 15000

Class c2: Values in the range 15001 to 25000

Class c3: Values more than 25000

Test cases utilizing valid equivalence classes having values in falling within the range of 12000 to 15000 of Pay shall be

While observing the "Observed Output" column, Desired Outputs are always found to be different for any set of two successive inputs. Hence it is necessary to carryout the testing with the help of boundary value analysis approach by maintaining such difference. Similar approach is applied to verify the output boundaries as well.  

Few other illustrations of test cases designed with boundary value analysis approach are:

a) Testing of a compiler using an empty source code

b) Testing of trigonometric functions as TAN having values close to p/2

c) Testing of a function involving deletion of a record from a particular empty data file or a data file having just a single record.

Thus summarizing, Boundary Value Analysis is an efficient approach of designing the test cases, which can discover majority of most common errors getting introduced during

Many More Articles in Startup Kit for Software Testing 

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Consolidated Study Material - All ISTQB Certification Exams

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Quick Navigation of Software Testing Genius

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

Study Material for Certification Exams on Other Automation Tools:

Download Full Study Material - HP QTP & QC Certification Exams

Practical Roadmap to QTP Certification

Rehearsal of QTP in 1 Hr. -  Interview Questions

Study Material - HP LoadRunner Certification Exams for All Modules

Rehearsal of LoadRunner in 1 Hr. -  Interview Questions

Study Material - IBM RFT Certification Exam

Study Material to prepare for Manual Testing & QA:

Practical Roadmap to CSTE Certification

Consolidated Study Material - Testing & QA


Comments :


Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri