Loop Field Values
This action loops through a list of values, entering one into a text field in each iteration.
The found tag must be a <textarea> tag or an <input> tag of type "text" or "password".
Note that entering the value may trigger execution of JavaScript if there are any registered event handlers on the <input> or <textarea> tag.
To enter text without looping, use the Enter Text action.
Properties
The Loop Field Values action can be configured using the following properties:
- Values
-
The values to loop through. These can be either:
- a...z
-
The letters from a-z, in alphabetical order.
- aa..zz
-
The two-letter combinations of a-z, in alphabetical order.
- Number range
-
A range of integers. The numbers that define the endpoints of the range must be specified, as well as the size of the step taken in each iteration. E.g. setting "From" to 0, "To" to 100 and "Step" to 10 will cause the step to loop through the sequence 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100.
- List of values
-
Explicitly specify the values to loop through. The values must be separated by commas or placed on separate lines, and may be quoted with double quotes. Using the Value Selector, a list from e.g. a variable can be obtained.
- 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.