When do we apply equivalence partioning tecnique and boundary value analysis,Tell me with some example?

Showing Answers 1 - 7 of 7 Answers

nagarajantp

  • Jun 4th, 2006
 

Both are methods in Black Box Techniques. These two methods are used to minimize the test cases. For example: we have range of values between 1 to 1000.. so we didnot prepare or test all the data its takes to much time and its not an effective testing. At that time use these methods, design test cases its main objective is avoid repetation and completion. ex: 1 to 1000 EC: Partioning data like odd and even number for each design three test cases. BVA: using thumb rule - 4 valid and 2 invalid testcases ie min, max, min+1, max-1 - 4 valid test cases max+1, min-1 - 2 invalid test cases Note: This Thumb rule for range of values only

  Was this answer useful?  Yes

jyothi

  • Jun 5th, 2006
 

In equalence partioning , we have to divide the input into equilance classes.

IN boundary value analysis we will take the boundary values.

  Was this answer useful?  Yes

Equivalence Partitioning is useful to minimize the number of test cases when the input data can be divided into distinct sets,where the behaviour or outcome of the product within each member of the set is the same.

EP involves dividing into different set's or classes.Division will be into valid partition and invalid partition.This helps to divide into valid range of data and invalid range of data.

Boundary Value Analysis is useful to generate test cases when the input(or output) data is made up of clearly identifiable boundaries or ranges.

BVA involves dividing the data into valid boundary and invalid boundary.This helps to divide into valid data boundary and invalid data boundary,which can be included into test data coulmn of test case

  Was this answer useful?  Yes

bharathp

  • Jul 10th, 2006
 

BVA: Boundary Value Analysis, This is an input domain Testing Technique

Here we test the boundary values by giving valid inputs and invalid inputs as per the requirement

Example: assume that there is a password authentication for the password

Requirement: it should contain minimum 3 characters and maximum limit is 9 in length

 

So here 3 is the lower boundary and Upper Boundary is 9

By Using BVA technique we will Prepare test data as

Minimum-1:3-1

Minimum: 3

Minimum+1:3+1

 

Maximum-1:9-1

Maximum: 9

Maximum+1:9+1

 

ECP: equivalence class Partitioning: it also a input domain testing technique

 

Example: assume that there is a password authentication for the password

Requirement: it should contain minimum 3 characters and maximum limit is 9 in length and it should accept alphanumeric and it is case sensitive accept only lowercase

Applying the same for ECP

Equivalence Class Portioning

Here we will take a input data table and partition the data as valid input and invalid input as per the requirement

Example:

 

Equivalence class partition

Valid Input Data

Invalid input Data

3-9

0-2,10& Above

       a to z

A to Z

 

@,#$%^&*

  Was this answer useful?  Yes

Shekhar

  • Apr 25th, 2007
 

How to apply Equivalence partitioning on GOOGLE search page?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions