Modify ExecutionLists

Once you have created an ExecutionList, you can modify it.

If you want to double-check your TestCases before you modify the linked ExecutionEntries, you can jump between the Execution section and the TestCases section:

  • To check the linked TestCase, make a right-click onto an ExecutionEntry and select Jump to TestCase from the context menu.

  • To check the linked TestCases folder, make a right-click onto an ExecutionEntry folder and select Jump to TestCase-Folder from the context menu.

Once you have executed your ExecutionList, you can also jump to linked TestSteps or TestStepValues via the context menu.

Change the order in which you execute your ExecutionEntries

If you want to change the chronological order of your ExecutionEntries in the ExecutionList, rearrange them via drag and drop.

Skip certain ExecutionEntries during execution

If you do not want to execute all ExecutionEntries within an ExecutionList, you can disable them. This disablement is not permanent; you can re-enable disabled objects at any time. You can also disable ExecutionEntries that have already been executed.

To disable an object, follow the steps below:

  1. Right-click either an ExecutionEntry or an ExecutionEntry folder and select Disable from the context menu.

  2. In the subsequent dialog, enter a reason for disabling the selected object. Tosca Commander displays this reason in the tooltip and in the property DisabledDescription of an ExecutionEntry.

    By default, the system enters a date-and-time stamp and the user name.

Tosca Commander grays out the disabled object and skips it during execution.

ExecutionList with disabled ExecutionEntry and disabled ExecutionEntry folder

To re-enable a disabled object, right-click on the object and select Enable from the context menu.

Execute TestCases multiple times

By default, you can drag and drop the same TestCase onto the same ExecutionList only once. If you want to run the same TestCase multiple times, you have the following options:

  • Repeat the exact same TestCase within the same ExecutionList multiple times

  • Re-use a TestCase within the same ExecutionList, but run it with different values

Repeat the exact same TestCase within the same ExecutionList

If you want to repeat a TestCase with the same values multiple times, you need to configure the corresponding ExecutionEntry for repetitions.

To do so, define how many times you want to repeat the ExecutionEntry in the ExecutionEntry property Repetitions. You can enter any natural number.

Property Repetitions: Run the ExecutionEntry Automobile five times

Re-use a TestCase, but run it with different values

You can re-use the same TestCase within the same ExecutionList, but run it with different values. In this case, you need to perform the following actions:

  • Configure Tosca Commander to allow multiple references to the same TestCase within the same ExecutionList

  • Create and define test configuration parameters for your ExecutionEntries

To do so, follow the steps below:

  1. Create the setting MultipleReferencesToIdenticalTestCaseAllowed in the TOSCACommander.exe.config file as described in chapter "TOSCACommander.exe.config".

  2. Create a TestCase that uses a test configuration parameter for a value.

    The TestCase in the screenshot below is designed to open a yet unspecified URL:

TestCase with test configuration parameter value

  1. Drag and drop the TestCase onto your ExecutionList as many times as needed. This creates several ExecutionEntries from the same TestCase.

ExecutionList with ExecutionEntries created from the same TestCase

  1. For every ExecutionEntry, create a test configuration parameter and enter an appropriate value.

ExecutionEntry with test configuration parameter

Once you run your ExecutionList, Tricentis Tosca executes every ExecutionEntry with the value specified in the respective test configuration parameter.