Get Value by Index

This ‘Get Value by Index’ is a pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure to fetch the value from a dropdown based on the index number of an item specified in the Input Value and save the result in dynamic variable.

Syntax

Input Value: <Index>

Argument
Description

<Index>

(Required)

Numerical index of the value to retrieve from the dropdown

Output Value

Argument
Description

<Dynamic Variable> (Required)

This dynamic variable holds fetched value from dropdown/list

<Dynamic Variable> (Optional)

This variable holds the status True or False

Example

Retrieves a specific value from a list using the provided index position

The Get Value by Index action takes the value from the Input Value column (e.g., 4) and retrieves the item located at the specified index within a list. The result of the retrieval operation is stored in the {Value} variable, while the execution status is stored in the {Status} variable, with the following possible values:

  • True – if the value is retrieved successfully.

  • False – if retrieval fails or an error occurs.

Last updated

Was this helpful?