Select Multiple Value by Indexes
This is a pre-built Action located under the captured list element. The functionality of this Action in Avo Assure is to select multiple values from the list based on the index numbers provided in the input value. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <Index1>;<Index2>;<...>
<Index1>;<Index2>;<...> (Required)
Provide the index of the list of items from which you want to select the values.
Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This dynamic variable stores the status as True or False.
Example: Selecting Multiple Values from a List Using Index Positions
In this example, we explain how to select multiple values from a list using their index positions.
Action: Select Multiple Values by Indexes
Input Value: 2;3
The first argument (2) specifies the index of the first value to be selected.
The second argument (3) specifies the index of the second value to be selected.
Output Value: {Status}
The execution status of the selection operation is stored in the {Status} dynamic variable with the following possible values:
True: If all values are selected successfully.
False: If all values are not selected or If Input Value is not provided.
Logical Explanation: The Select Multiple Values by Indexes action takes the value from the Input Value column (2;3) and selects items of the list located at index positions 2 and 3 within the targeted list element. The status of the selection operation (True) is stored in the {Status} variable.

Last updated
Was this helpful?