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.
If you're into popular things, this is not the blog for you. If you already know it all, this won't be your cup of tea. On the other hand, if you're artistic, musically inclined, a working professional, or a casual gamer with a need for some tips and extra knowledge here, there, and everywhere, this is the place to be.
Thursday, August 5, 2010
Selenium - Unexpected Exception (Security Manager vetoed action)
Today I ran into a problem with Selenium when creating an automation script to check one of our Mobile Sites. The first command was a simple Open:
The rest of it was verification points.
When I ran the script, it would execute and the page would load, but I'd get an error:
open | /folderName/pageName.do |
The rest of it was verification points.
When I ran the script, it would execute and the page would load, but I'd get an error:
Subscribe to:
Posts (Atom)