On the Scenarios screen, click the Freeze these Scenarios button (Figure 8 - 1).
Figure 8 - Freeze
UI Step
You will see a warning message (Figure 9) reminding you that freezing your Test cases should only be done when there is a valid reason to do so.
To proceed, click the Freeze button (Figure 9 - 1).
Figure 9 - Freeze
UI Step
Once you click Freeze (Figure 9 - 1), your existing Test cases will be “frozen” as Forced Interactions.
Here’s what that looks like now (Figure 10): all of our Tests have been “frozen” as the combinations of forced parameter values.
Figure 10 - Frozen
UI Step
Let’s add another parameter: Amount of luggage (Figure 11 - 1). At this point, we may have already run some of these scenarios, so we don’t want to have to redo any of them, even if Xray Test Case Designer could reduce the total number of scenarios. By freezing the previous 11 Tests, Xray Test Case Designer will keep them as they are, and simply add a couple of scenarios to pair all of the new values – the numbers of luggage – with every other value.
UI Step
Here are the new Tests (Figure 11). Note that the initial 11 scenarios are still present. We’ve simply added a few more.
Figure 11 - Tests
Here’s what the differences could have looked like if we had not frozen our initial 11 Tests.
Notice how Test Case 3 contained the following while frozen:
USA.
India.
Coach.
Selected.
1.
More than 1.
2 or more.
If we unfroze, Test Case 3 could contain the following:
USA.
India.
First.
Selected.
1.
0.
2 or more.
Therefore, we would have needed to rerun our initial scenarios. If we still want to unfreeze, we can do so by navigating to the Forced Interactions screen, and simply clicking the Unfreeze button in the top left.