2

Is there any way to find the count of fields or lables in a particular screen using selenium IDE?

1

Reference from Selenium IDE:

storeXpathCount: Returns the number of nodes that match the specified xpath, eg. "//table" would give the number of tables.

storeCssCount: Returns the number of nodes that match the specified selector, eg. "css=table" would give the number of tables.

| improve this answer | |
1

jQuery('span').size() will give you the number of span elements in the page.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.