I seem to be having some issues attaching to modal_dialogs. I tried to register 
my win32ole but it didn't seem to help. (the dialog popped up and said it 
didn't appear to be a valid dll)

Heres my session in the IRB. Not after I hit 'new' I manually navigated and 
opened a modal dialog. Do I need to update to a new version or ruby?

irb(main):001:0> require 'watir'
=> true
irb(main):003:0> include Watir
=> Object
irb(main):004:0> ie = IE.new()
*snipped out*
irb(main):005:0> ie.modal_dialog
NoMethodError: IE#modal_dialog not supported with the current version of Ruby 
(1.8.4).
See http://jira.openqa.org/browse/WTR-2 for details.
undefined method `connect_unknown' for WIN32OLE:Class
        from C:/Program 
Files/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1136/./watir.rb:2703:in 
`initialize'
        from C:/Program 
Files/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1136/./watir.rb:450:in 
`modal_dialog'
        from (irb):5
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6110&messageID=17136#17136
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to