Get List Count

This ‘Get List Count’ is a pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure to retrieve the total number of options available in the dropdown list and save the result in dynamic variable.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value

Argument
Description

<Dynamic Variable> (Required)

This dynamic variable holds the total count of values in dropdown

<Dynamic Variable> (Optional)

This variable holds the status True or False

Example

Retrieves the total number of values present in a dropdown or list component

The Get List Count action identifies how many items are present in a list or dropdown element. This action does not require any value in the Input Value column. The result of the count operation is stored in the {List count} variable, while the execution status is stored in the {Status} variable, with the following possible values:

  • True – if the count is retrieved successfully.

  • False – if counting fails or an error occurs.

Last updated

Was this helpful?