Selenium Testing
Posted
by Joakim
on Stack Overflow
See other posts from Stack Overflow
or by Joakim
Published on 2010-05-05T13:03:33Z
Indexed on
2010/05/05
13:08 UTC
Read the original article
Hit count: 426
Hi
I want to get a bunch of dom-objects with xpath and loop through those to check if they contains a specified text, is this possible in the Selenium IDE or rc? Perl is my prefered language
XPath would be something like xpath=//tbody[@class='table-data']/tr/td/div[@class='table-item']
This would return all row items in the table, but i need to check each div if contains a specified text string. Is this possible with Selenium?
Best regards
© Stack Overflow or respective owner