Conditional execution of recorded steps
Posted: Fri Jul 13, 2012 7:49 am
Hi,
Is it possible, and if yes, how, to only execute recordes steps depending on a condition in one of the steps? I know I can convert the steps into a single user code and then handle everything there with code. But with this approach I loose the easy recorder interface to add, delete, reorder actions. I think it is easier to understand what'g going on when looking at the steps in the recorder than reading code.
This is the scenario:
- Take elements from the repository and create a recording (or take an actual recording and clean it up)
- In one of the steps I'd like to check a condition and if not met skip the remaining steps in the recording.
Christoph
Is it possible, and if yes, how, to only execute recordes steps depending on a condition in one of the steps? I know I can convert the steps into a single user code and then handle everything there with code. But with this approach I loose the easy recorder interface to add, delete, reorder actions. I think it is easier to understand what'g going on when looking at the steps in the recorder than reading code.
This is the scenario:
- Take elements from the repository and create a recording (or take an actual recording and clean it up)
- In one of the steps I'd like to check a condition and if not met skip the remaining steps in the recording.
Christoph