Prepare for your Next Interview
This is a discussion on boundary value analysis within the Test Cases forums, part of the Software Testing category; Hi, What is boundary value analysis and equivalence partitioning method with example. Thanks....
|
|||
|
Hi,
Consider a situation where u pass the number as the input .(eg: Entering ur marks on a web page.) Assumption: marks are between 0 to 100 For this 1) Boundary value analysis : take the boundaries 0 and 100 and test for the condition such as -1,0,+1 and 99,100,101 2) Equivalence partitioning : is not as such a stand alone method for testing. It is implemented by Boundary value analysis. Partition the inputs into a) valid and b) invalid partition as a) valid 0 -100 b) invalid -1 to -infinity and 101 to infinity and then apply the boundary value analysis for the above. Still if u not clear, use this Equivalence partitioning, Boundary value analysis Regards, Elango. |
|
|||
|
Re: boundary value analysis
Boundary value analysis is one of the method of black box testing, in which the values on the boundary is tested. For example, if the benefit amount should fall in the range $1000 to $10000, the testing on the boundary will be carried based on the following inputs. I. On the boundary - $1000 and $10000, the test case should pass ii. Below the boundary - value less than $1000, the test case should fail ii. Above the boundary - value greater than $10000, the test case should fail equivalence partitioning is another approach of testing followed in black box testing where the input values are partioned and tested. For example, if the benefit amount is in the range $1000 to $10000 then the following criterias are tested as the input values are equally partioned in to three categories. I. Values less than $1000, the test case should fail ii. Values between $1000 to $10000 the test case should pass iii. Values greater than $10000 the test case should fail warm regards, ganesan
|
|
|||
|
Boundary value analysis:a test data selection technique in which values are chosen to lie along data extremes. design the test cases to validate max,mini values outside/inside ,typical and error values by the system.
Equivalance partition:design the testcases to validate the application for valid and invalid testdata. |
|
|||
|
Hi bagavathi ! Boundary value analysis is testing the boundary condiitions.
Ex : If you have to test the functionality of A prime number prog. working on numbers between 1 to 1000. Then your test conditions will be : BVA : 0 1 2 999 1000 1001 U have to check the behaviour of the prog. with the numbers excatly at the boundary, imm. outside the boundary, imm. inside the boundary. Equivalance partition : It has got three parts : (1) Input partitions : The set of inputs can be partitioned into similar type of data to avoid exhaustive testing. For example: consider a program which accepts any value between -10000 and +10000. Then equivalence partition would be; Less than zero, Zero & Greater than zero (2) Output partitions : Even the output values can be partitioned just like inputs. For example: A university declares a result of its student as Fail if the score is 0-35, 2nd class for 35-60, 1st class for 60-75 and distinction for 75 and above. Then o/p partition would be; 0-35 Fail 35-60 second class 60-75 first class 75 and above distinction (3) Other partitions : It is used when we know enough about application and is an optional on. This is more technical and difficult one.Regards, Saurabh Garg ![]() Last edited by saurabh garg : 11-15-2007 at 12:06 AM. |
| The Following User Says Thank You to saurabh garg For This Useful Post: | ||
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Risk Analysis | vijenjoy2k2 | Testing Issues | 8 | 08-07-2008 06:07 PM |
| Using Boundary value analysis and tracebility matrix | JobHelper | Test Cases | 4 | 10-22-2007 02:46 AM |
| Increase performance of analysis studio | Caasree | Data Warehousing | 0 | 06-14-2007 05:21 AM |
| need Boundary Value analysis explaination with example | testingjob_vb | Test Cases | 5 | 06-12-2007 06:58 PM |
| Pakages for research statistical analysis | Geek_Guest | Geeks Lounge | 0 | 04-07-2007 05:22 AM |