Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. PairWise Algorithm For Automation

PairWise Algorithm For Automation

Scheduled Pinned Locked Moved Visual Basic
testingtoolshelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jm6k
    wrote on last edited by
    #1

    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

    P 1 Reply Last reply
    0
    • J Jm6k

      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

      P Offline
      P Offline
      progload
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups