For Each Option
This action loops through the options in a drop-down box or list box, selecting one option in each iteration.
The found tag must be a <select>-tag.
Note that selecting the options may trigger execution of JavaScript, if there are any registered event handlers on the <select>-tag.
To select options without looping, use the Select Option or Select Multiple Options action.
Properties
The For Each Option action can be configured using the following properties:
- Skip these Options
-
If any of the options should be skipped in the loop, they should be specified here.
- Continue when
- Add a wait criterion for the step. If you have several wait criteria, execution stops when any wait criterion is met. You can have several met wait criteria such as if you are waiting for two HTML elements that appear on the same load, or if you are waiting for an element on the main frame, and Initial Page Load Completes is set. For more information, see Use Wait Criteria.
- Options
-
The robot's options can be overridden with the step's own options. An option that is marked with an asterisk in the Options Dialog will override the one from the robot's configuration. All other options will be the same as specified for the robot.