YaK:: WebLog #535 Topic : 2007-07-25 07.29.15 matt : usage of top.location can screw up Selenium tests | [Changes] [Calendar] [Search] [Index] [PhotoTags] |
[Back to weblog: pretention] |
A few months ago, we were testing a login page that had been fortified against robots. It uses code like this:
if (top.location != self.location) { top.location = self.location.href; }
This breaks Selenium that loads the web app being tested in an IFRAME.
What do you do? Just try to get as much done in JsUnit tests as you can.
Discussion:showing all 0 messages |
(No messages) |
(last modified 2007-07-25) [Login] |