It is sometimes necessary to execute tests in no particular order to simulate real use, where tasks are not always run in the same order. The example uses an array to determine the order of the execution, which can be easilty generated in a code module. Each step's post expression uses this array to determine the next step. The post expression used is:
where stepsExecuted is used to track how many steps have been run, and stepOrder contains an array of the step indices in the desired order.
Note: the "end" step should be the last array index to make sure the sequence finishes properly.