Hi, I decided to upgrading Ruby and Watir with the latest versions (Ruby 1.9.3 and Watir-Classic 3.4.0) and IE from 7 to 8 but, after some simple refactoring I found an issue that I cannot solve. With the previous versions of Ruby and Watir the same code worked fine. The problem is related to modal dialog when I try to access to it, the error is: NoMethodError: undefined method `connect_unknown' for WIN32OLE:Class C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.4.0/lib/watir-classic/modal_dialog.rb:59:in `locate' >From IRB, the same commands still continuos to work fine Can you help me? Thanks in advance
Stefano Il giorno domenica 6 gennaio 2013 21:57:13 UTC+1, Jarmo Pertman ha scritto: > Hello everyone! > > I'm happy to announce that Watir-Classic 3.4.0 has been released! > > Put it into your Gemfile: > gem "watir-classic", "~> 3.4.0" > > Or install it manually with: > gem install watir-classic > > Biggest change is a complete documentation overhaul. > Check it out at http://rubydoc.info/github/watir/watir-classic/frames > > Other changes: > * All deprecated methods will print out warnings. > * Element#flash returns self instead of nil. > * Fix frame locator in Frame#attach_command (issue #45). > * Remove :zero_based_indexing option - from now on all index options are > starting from zero. > * Remove global variable $HIDE_IE - use IE.visible= method instead. > Support for command line switch -b is also removed. > * Remove global varialbe $FAST_SPEED - IE.speed= method instead. Support > for command line switch -f is also removed. > * Remove IE#close_all - use browser.windows.each(&:close) instead. > * Remove IE#close_modal - use browser.modal_dialog.close instead. > * Remove IE#close_others - use > browser.windows.reject(&:current?).each(&:close) instead. > * Remove unused ie-new-process.rb. > * Remove unused PageContainer module. > * Remove unused PageContainer#check_for_http_error. > * Remove unused PageContainer#enabled_popup - use browser.modal_dialog > instead. > > With Best Regards, > Jarmo Pertman > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
