Showing posts with label contains. Show all posts
Showing posts with label contains. Show all posts

Thursday, August 5, 2010

Selenium - Xpath for links

Still working with Selenium, yet now the issue is with Xpaths.

I needed to verify that there are only 3 companies displayed on the page.  They are located inside of an anchor > div > div with the class Pod.
I wanted to do a verifyXpathCount | Xpathlocation | 3, but the rest of the content on the page, unfortunately was also inside of divs with the "Pod" class, so it was failing.

Related Posts Plugin for WordPress, Blogger...