Thanks:  0
Likes:  0
Dislikes:  0

# Thread: Equivalence partition for Drop down

1. ## Equivalence partition for Drop down

What are the different equivalence partitions and boundaries for drop down containing the airport names?

Can someone also provide real time example of how to use EP (Equivalent partitioning)and BVA (Boundary value analysis)?

2. ## Re: Equivalence partition for Drop down

Equivalence partition:
========================
If you are testing for an input box accepting numbers from 1 to 1000 then there is no use in writing thousand test cases for all 1000 valid input numbers plus other test cases for invalid data.

here we need to think 3 views:

Test cases for input box accepting numbers between 1 and 1000 using Equivalence Partitioning:
1) One input data class with all valid inputs. Pick a single value from range 1 to 1000 as a valid test case. If you select other values between 1 and 1000 then result is going to be same. So one test case for valid input data should be sufficient.

2) Input data class with all values below lower limit. I.e. any value below 1, as a invalid input data test case.

3) Input data with any value greater than 1000 to represent third invalid input class.

So using equivalence partitioning you have categorized all possible test cases into three classes. Test cases with other values from any class should give you the same result.

Boundary Value Analysis:
==========================
It is the next part of Equivalence partitioning for designing test cases where test cases are selected at the edges of the equivalence classes.

Test cases for input box accepting numbers between 1 and 1000 using Boundary value analysis:

1) Test cases with test data exactly as the input boundaries of input domain i.e. values 1 and 1000 in our case.

2) Test data with values just below the extreme edges of input domains i.e. values 0 and 999.

3) Test data with values just above the extreme edges of input domain i.e. values 2 and 1001.

Boundary value analysis is often called as a part of stress and negative testing.

Now for your Drop Down List, i would suggest, the same way you can make a class of Airport names with starting from A,B...Z etc... names with AA in the begining and like wize.
so that you can differentiate the Airport names in different classes which can be easily found in the class.

Thanks

3. ## Re: Equivalence partition for Drop down

Ideally the functionality should be tested for every Airport. However if they are more you can ask the client to prioritize them &amp; then you can test few of top priorities. Also make sure to take an approval from client about your selection.

4. ## Re: Equivalence partition for Drop down

AtishSupakar,

Your generalizations of equivalence testing and bva are a but misleading, and commmonly misused in this way.

With equivalence partitioning you (the tester) are asserting a set of values to be similar. In extremely large sets we can't possibly test all values in that set, so we should test several (not one) sample values from each set that will give us some degree of confidence that each value in that set IS similar to the others.

See http://www.testingmentor.com/imtesty...g-is-sampling/

5. ## Re: Equivalence partition for Drop down

Hi TestingMentor

Yaa..i didn't mean that you have to test just 1 , what i suggested was instead of goint from 1-1000 digits, just go with 1 number but if the tester like to test with digits then S/he could test with testdata ie,1,99,999... its upto the Tester...how much cleaver is s/he...

I only given an example about to write a Test case for only a valid class that is 1 to 1000 with all +ve numbers and make it a class with all numbers within the range ie,between 1 to 1000.

Actually The question asked by "Sarjana_Bhandari"
was on Airport Names in a DDL...So i had suggested that below my comment.

Thank You

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.