PairWise Algorithm For Automation
-
Hello All, I'm at work trying to write a Test Case script to run in VB6. The test case needs to test many many different combinations of parameters. For example, let's say I have 12 parameters, and I need to test the available types of data types that the parameters can take. Let's say that each parameter has 4 data types. I need to test every possible combination of every data type and parameter. If I were to do ALL of them, I would end up running over 20,000 test cases!!! However, with Pairwise testing, which only picks out the best possible combinations needed, the number of test cases dramatically reduces to about 25 or so. This software is available out on the net to get this result (www.satisfice.com), however, it must be run in DOS mode or through the command line. This makes my automation a problem, where a manual step must be taken to retrieve these combinations. The idea looks like this... Param1 Param2 Param3 Param4 ... 1 1 1 1 2 2 2 2 3 3 3 3 My question is... Is there anyone out there that knows of, or knows where to find, an algorithm that can calculate the PairWise pairings? It could be in VB6 or VB.NET, I'll know how to convert the two. Any insight or ideas would greatly help me. Thank you for your time. Matthew Hlavacek Software Test Engineer - MCP -- modified at 15:46 Friday 24th February, 2006
-
Hello All, I'm at work trying to write a Test Case script to run in VB6. The test case needs to test many many different combinations of parameters. For example, let's say I have 12 parameters, and I need to test the available types of data types that the parameters can take. Let's say that each parameter has 4 data types. I need to test every possible combination of every data type and parameter. If I were to do ALL of them, I would end up running over 20,000 test cases!!! However, with Pairwise testing, which only picks out the best possible combinations needed, the number of test cases dramatically reduces to about 25 or so. This software is available out on the net to get this result (www.satisfice.com), however, it must be run in DOS mode or through the command line. This makes my automation a problem, where a manual step must be taken to retrieve these combinations. The idea looks like this... Param1 Param2 Param3 Param4 ... 1 1 1 1 2 2 2 2 3 3 3 3 My question is... Is there anyone out there that knows of, or knows where to find, an algorithm that can calculate the PairWise pairings? It could be in VB6 or VB.NET, I'll know how to convert the two. Any insight or ideas would greatly help me. Thank you for your time. Matthew Hlavacek Software Test Engineer - MCP -- modified at 15:46 Friday 24th February, 2006
Matthew, I think you can find what your looking for at the link below, in the Excel workbook called ReducedArray3.xls there is a download for it at the bottom of the page. Checkout the VBA code in the worksheet. (In excel xp menu go: Tools>Macro>Visual Basic Editor> http://www.stsc.hill.af.mil/consulting/sw_testing/improvement/cst.html[^] progload