|Remote test execution / Synchronous remote execution|
By setting the parallel argument of the use deputy action to yes, you direct the automation to allow the test sequence assigned to the deputy to run concurrently with a sequence designated to the lead. For that matter, any number of deputies may be launched, each with its own test sequence, each running in parallel with the lead. A typical example may have the following form:
Here, unlike the previous case of serial execution, the test sequence designated for the lead controller (that is, following the use lead action) executes in parallel with the sequence following the use deputy action. The wait for deputy action tells the lead to hold off on executing any further action lines until Deputy 1 has completed its sequence.
As mentioned, parallel and serial execution modes are controlled by the parallel argument of the use deputy action, not through any flag that is set for the test module or for the execution run. Hence any given test case may incorporate, with multiple use deputy actions, both parallel and serial modes of synchronous remote execution.