Tuesday, October 23, 2007

Watir Tip

I ran into a problem using Watir - it could not find a frame that is really on the page. I got this error:

c:/opt/ruby/lib/ruby/gems/1.8/gems/watir-1.5.2/./watir.rb:2664:in `locate':
Unable to locate a frame with name frmeLHS (Watir::Exception::UnknownFrame Exception)

Oddly enough the problem was with my Internet Explorer security settings. Adding the domain to my "trusted sites" ("Tools/Internet Options.../Security/Trusted sites/Sites.../Add") did the trick.

No comments: