help.hexawise.com (Lessons Explaining How to Use Hexawise Features) Instructions for the Expert ➜ Guru AchievementsWhat if some of my test scripts should have a different numbers of test steps than others?

What if some of my test scripts should have a different numbers of test steps than others?

This lesson describes how you can create a set of Hexawise tests which contain a different number of test steps per test script.  This might arise, for example, if you're testing a shopping cart process and a user abandons the process in some of the scenarios.  Another example, like the one explained below, involves testing scenarios that might or might not include end-user selections depending upon whether or not the end-user in a given scenario has an optional product or service.

Many test scripts in Hexawise look like these...

Many test scripts in Hexawise look like these...

In particular, note that each and every one of these test scripts have the same number of test steps.

But what would happen if someone didn't want to rent a car in this example? We would NOT want our tests to look like these ones:

The wording in red is problematic. If a scenario includes "do NOT select 'Rent a car.'" then that scenario should not include any Values for either (a) Rental Car Brand or (b) Rental Car Transmission Type. In other words, if a traveler does not want to rent a car, there should be no information that a tester should include for the brand of the car or the transmission type of the car.

To address this problem, you should first go to the Define Inputs screen and create a Value called N/A - or Not Applicable - for Rental Car Brand and again for Car Transmission Type.

Next, create a few Married Pairs...

Bi-directional Married Pair # 1 : "do Not select Rent a Car" must always appear with Rental Car Brand = N/A (and vise versa).

Bi-directional Married Pair # 2 : "do Not select Rent a Car" must always appear with Rental Car Transmission Type = N/A (and vise versa).

Bi-directional Married Pair # 3 (created for you automatically by the Hexawise tool): Rental Car Brand = N/A must always appear with Rental Car Transmission Type = N/A (and vise versa).

 

For more information about how to use the Married Pair feature, please see http://help.hexawise.com/s/help/m/7438/l/104307-how-do-i-prevent-certain-combinations-from-appearing-using-the-married-pair-feature

Now, your Hexawise-generated tests will read properly. Some of your tests will have 7 Values to enter per test script. Other tests will have 5 Values to enter per test script.

Now, your Hexawise-generated tests will read properly.  Some of your tests will have 7 Values to enter per test script.  Other tests will have 5 Values to enter per test script.