Conditional execution at the test step level...
Would be very useful if there was a way to set one or more steps in a recording to run or be skipped over if previous step (be it a validation or another action) failed or passed.
This would essentially be a very basic if-then-else at the step level within a single recording where the subsequent step's execution is dependent on the result of a previous step.
Please see attached for a specific example where this would be beneficial but really this could be used all throughout different scenarios.
Example1: execute validation step if previous step passed but skip if previous step failed.
Example2: execute the next several steps only if previous step for a button clicked passed, or skip if failed.
And to help visually represent the relationship between the IF step and the THEN steps, the subsequent step or steps would be indented under the first step where the condition is based off of in the recorded module.
Willy Verheyden commented
this is a very good idea. actually we need to make use of (conditional) smartfolders to select/execute next steps and this makes the testsuite more complex. In some cases a Validate step can get a True/False result (which I now resolve by usercode) and the next action in the recording module could make use of this True/False result...