ElementCount

Element count command is used to get the element count for the particular locator.

Select ELEMENTCOUNT command from the action drop down, select desired Screen name, Element key and provide the variable name which will store the count in parameter section as shown below:

After completing this step, test step will look as below:

Once count is stored in variable it can be accessed using ${var}.

Was this page helpful?