This event is generated for operations that execute child operations in a loop. The
OnIterate event occurs at the end of each iteration to determine whether the test engine should exit the loop.
OnIterate event occurs when an operation-iterator is executed during the test run. The event is generated at the end of each iteration. Operation developers write the
OnIterate event handler to update internal counters or check specific conditions.
The event has the following parameters:
OnIterate event handler does not return any value.
OnIterate event is triggered at the end of each iteration. If the
CanExecuteBody event handler returns False, the iteration does not occur and the
OnIterate event is not triggered. The sequence of events at run time is as follows:
OnExecute (triggered only once, before the first iteration)
CanExecuteBody (on each iteration)
Run child operations…