Matt Johnson wrote:
> Hello,
> I have been trying to use the second method described above with no 
> success. I am trying to clear a security dialog that appears after 
> clicking a "Sign In" button. I can see that the button gets clicked, 
> then the script blocks. If I kill the script ( by closing the browser, 
> or whatever ) I get this error message:
>
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1100/./watir/contrib/enabled_popup.rb:10:in
>  
> `enabled_popup': uninitialized constant 
> Watir::PageContainer::GetWindow (NameError)
> from c:/ruby/lib/ruby/gems/1.8/gems/watir- 
> 1.5.1.1100/./watir/contrib/enabled_popup.rb:9:in `until_with_timeout'
> from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1100/./watir.rb:210:in 
> `wait_until'
> from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1100/./watir.rb:210:in 
> `until_with_timeout'
> from 
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1100/./watir/contrib/enabled_popup.rb:9:in
>  
> `enabled_popup'
> from C:/ruby/mattj/scanmus/scanmus3.rb:79
>
> Can anyone tell me what the problem is, or how I can debug this 
> further? Why is this not initialized? Does that mean I have some kind 
> of path or other environment problem. I am using WinXP SP2, ruby 1.8.2 
> (2004-12-25) [i386-mswin32], watir 1.5.1.1100.
Looks like this may be a bug. Please report this in Jira. It would also 
help if you would report what  C:/ruby/mattj/scanmus/scanmus3.rb:79 
looks like.

The code you are using does not have have unit tests and is currently 
unsupported.

Bret

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to