All Collections
Hexawise Features
Scripting
How do I use the "Relax" feature?
How do I use the "Relax" feature?

Use this "hidden" feature to automatically generate your detailed Hexawise test scripts. Even faster than with regular Auto-Scripting!

Conor Wolford avatar
Written by Conor Wolford
Updated over a week ago

When the steps in your model follow the same sentence structure, you can generate every test step for every Scenarios row simply by writing one "example" and using the Relax feature. More often, there will be at least some differences in sentence structure from test step to test step. There too, the Relax feature will save you a lot of time... But after you apply the Relax feature in those situations, you will need to modify several of your test steps.

Let's create a simple model

After clicking the Scripts -> Manual Auto-Scripts links in the left navigation pane...

Begin typing in the Step 1 section. Double check to make sure you are in Step 1 as it is easy to accidentally type out instructions in the Start section.

Now, type the first parameter name with brackets around it AND type that same name of the first parameter without brackets around it. For this example, you should type "For Color, select {Color}", since Color is your first parameter. After doing so, you will see the "Relax" button appear in the bottom left-hand corner. At this point, your script should only contain this one step.

Enjoy the R&R!

As it states, the "Relax" button creates identical sentence structures for every other parameter. 

After clicking the "Relax" button, here's what it looks like on your screen:

And here is what the same tests look like upon export:

Troubleshooting Tips

The "Relax" feature works with any sentence structure that you can dream up. But only when all of the following are true:

1) You are entering the sentence into Step 1 (not the "Start" section).

2) Your model only has that one step. (The Auto-Scripts screen does not show any steps in addition to Step 1 yet).

3)  You have entered the name of the first parameter exactly as the parameter name appears on the Hexawise inputs screen. (Not the name of any other parameter, and with the same spelling, capitalization, spelling, etc.).

4) You included the first parameter name in your script twice: once without the { } and once with { }.

Did this answer your question?