Get index count
Last updated
Last updated
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 n the AUT and save the result {count} in the output variable.
Input: <variable containing list value>
Note: The variable name should be within curly brackets.
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
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.
1. Input Data:
List of libraries: {List}
which holds the library list.
In List variable, there is a no.of libraries existing in a dropdown.
2. 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.