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 more detailed statements can be done much easier and with greater efficiency using Hexawise's Parameterized expected results. 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 easy too. Here is a step-by-step process:

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 and the related 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 result.

We type out our "Then" statement as we want our tester 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 #10:

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

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.

When the trigger value in the Expected Result matches the one in the highlighted scenario preview, the ER is displayed in green, otherwise in red.

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?