Previous Topic: Create a Sandbox Class Loader for Each Test CompanionNext Topic: Negative Testing Companion


Set Final Step to Execute Companion

Use the Set Final Step to Execute companion to verify that the system under test is left in a consistent state regardless of the test result. You specify which step is always run last when the normal test flow is circumvented.

A common use is to ensure that resources are released at the end of the test. Specifying the first step is not commonly needed, but there are many scenarios where specifying the final step is important.

The final step is executed even if the test case reaches an End step or the test case is instructed to end abruptly.

The final step is not shown in the Execution History list in the ITR. The results can be seen in the Events tab for the last step that was executed.

The Set Final Step companion Editor is used to set the final step.

To configure the Set Final Step companion, enter the following parameter:

Final Step

Select the final step to execute from the drop-down list.

A step that is designated as the final step to execute is noted with a green flag icon.