TestProject Forum
Powered by leading experts in the test automation community

How do i count the number of checkboxes in a webpage

How do i count the number of checkboxes in a webpage (using smart recorder)
An early response will be appreciated
Thanks in advance

Hello @vaibhavm.

You can use the Count Elements action:

In here, provide the locator type (such as ID/NAME/XPATH) and the locator itself:

image

It will return the number of elements found using that locator.

i am not able to see Count Elements action addon

@vaibhavm

The action is not an element action, it can be found by pressing ‘Add Step Manually’

image

And searching for it:

Fine and Thanks :smiley: