Get index count
This is a pre-built action in Avo Assure and comes under @Generic element. This action instructs Avo Assure Client to fetch the total list count of a dropdown in the AUT and save the result {count} in the output variable.
Syntax
Input: <variable containing list value>
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)

Use case/Example

Scenario: Verifying the Number of Library in a Dropdown
Suppose you are testing a web application. It ensures that the application correctly retrieves the count of libraries in a dropdown menu, verifying that all expected options are available for user selection. The web application features a library selection dropdown that allows users to choose from various libraries. The testing team needs to verify that the dropdown contains the correct number of items, confirming that the dropdown menu in the library selection of the application reflects the accurate count of libraries.
Input
List of libraries: {List}
which holds the library list.
Expected Result
The variable {output}
holds the count of libraries in dropdown.
Output
The output variable contains a count of {06}, which represents the number of libraries in a dropdown and will be used for further work.
Last updated
Was this helpful?