# Thread: Test combinations for search functionality

1. ## Test combinations for search functionality

Hi - I would like to ask the group on how they will create a matrix to cover all the combination for a search functionality with 10 criteria.

Example:
Criteria 1
Criteria 2

Expected result: Search should prioritized criteria 1 then 2

Note that Orthogonal array looks like does not work because it can only support 2 pair combination. After plugging the parameters in orthogonal array, the results are the same.

Thanks

2. ## Re: Test combinations for search functionality

You seem to be missing something here.

Combinatorial testing is testing the interaction of multiple variables for 2 or more input parameters.

You've listed 2 'criteria.' Are you sure you are not doing permutation testing?

3. ## Re: Test combinations for search functionality

Yes, you are right. I am looking for a way to plot all possible combination (permutation upto 10 criteria).

I only gave a simple example with two criteria, but the permutation can be upto 10 levels.

As I mentioned from my original post - we tried using orthogonal array (rdExpert), but the tool can only handle two pairs. The possible combination generated from the tool does not make sense.

I am thinking if we could get the logic of the search (if-then-else statement) would it be possible to get our combination?

If my math is correct - the possible combination for 10 criteria is 2 raised to 10 (exponent). In which impossible to test all the combinations.

4. ## Re: Test combinations for search functionality

So, you are trying to plot 10 criteria with 10 levels each? This would give you something like 10,000,000,000 combinations, right? Maybe you can find an example here: http://www2.research.att.com/~njas/oadir/

5. ## Re: Test combinations for search functionality

ahhhh, ok, I misread it and thought you were talking about pairs of 10 criteria. In that case it would be 100 cases.

However, if you're talking about combinations of 10 criteria where you select 10 of the criteria, and there can be duplicates (ie 10,10,10,10,10,5,5,5,2,2), then, yes, your possibilities are quite large. Based on that I think you would see billions of possibilities.

6. ## Re: Test combinations for search functionality

OK...you might want to check out PICT from Microsoft.

http://msdn.microsoft.com/en-us/testing/bb980925.aspx

It allows you to use simple if-then syntax to help deal with conditional or invariant variable pairs.

It also support n-wise testing of combinations, and can randomize the combinations.

7. ## Re: Test combinations for search functionality

Reminds me of when I dealt with something similar:

http://www.sqaforums.com/showflat.php?Ca...=true#Post50702

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.