In the Auto-scripts section of Hexawise you are able to manually type expected results for each step in your test cases. For instance, if you were creating a test plan for a pizza ordering program that included a parameter for the number of toppings, then your expected results for the number of toppings step might look similar to this:

However, creating this expected result can be done much easier and with greater efficiency using Hexawise's Parameterized expected results. Hexawise's parameterized expected results help reduce the number of auto-script steps and allows for the creation of the desired auto-script to be easier and more straight-forward. Here is an example of our same test plan for a pizza ordering program using Hexawise's parameterized expected results:

Creating parameterized expected results is very easy too. Here is a step-by-step process of how to create parameterized expected results:

1) You will need to click on "Add Expected Results" beneath the Step you desire to add expected results too.

2) Next you will be presented with a "When" and "Then" conditional statement. For this specific Step we will focus on the Number of Toppings Parameter and the corresponding Toppings 1, 2, and 3 parameters. First, we will begin by adding a case for "When" Number of Toppings is 1. 

3) Now we can add a "Then" statement that incorporates our parameterized expected results.

We type out our "Then" statement as we want our test designer to read it. For the parameters and corresponding parameter values we type it in this fashion:
Topping 1 = {Topping 1}
The parameter value, {Topping 1}, will vary depending on our specific test cases. For instance, this is what our "When" and "Then" conditional statement reads for Test #28:

In comparison, here is what our "When" and "Then" conditional statement reads for Test #29:

However, what if we run into a test case where Number of Toppings is 2 or 3...We can add more parameterized expected results for those instances as well!

4) Follow the same process as before to add more parameterized expected results. Just click on "Add Expected Results" and follow the instructions provided in steps 2 and 3 above. 

Add expected results for the other 2 cases, when Number of Toppings is 2 or 3.

We see that in this Step, Number of Toppings is 1. That is why the "When" and "Then" block for "Number of Toppings is 1" is displayed in green, while the "When" and "Then" block for the other two is displayed in red.
Note: Make sure to add N/A parameter values for the specific parameters that are able to take on this value.

Also, another efficient way of using Hexawise's parameterized expected results feature is by adding an expected result that sums up all of the parameters and their corresponding values in a very straightforward and readable way. For instance, this Airplane Ticket Reservation application has included a final Step that summarizes all of the details of the order. This allows the test designer to very easily understand all of the parameters and their values.

Did this answer your question?