On Monday, January 6, 2014 6:47:30 AM UTC-8, marcwest...@gmail.com wrote: > > I have an issue where when I require 'win32ole' in a script I then get an > error when trying to deal with a modal dialog. When I remove require > 'win32ole' the error goes away. > > The error I am getting is... > > C:/Ruby2_0_0/lib/ruby/gems/2.0.0/gems/watir-classic-4.0.1/lib/watir-classic/modal_dialog.rb:59:in > > `locate': undefined method `connect_unknown' for WIN32OLE:Class > (NoMethodError) from > C:/Ruby2_0_0/lib/ruby/gems/2.0.0/gems/watir-classic-4.0.1/lib/watir-classic/modal_dialog.rb:15:in > > `title' > > > What order are your require statements in?
Can you do 'gem list' from the command line and give us the gem versions? Are you using bundler? -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.