I downgraded win32-process to version 0.6.6 but unfortunally I got the same
error
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'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.4.0/lib/watir-classic/container.rb:69:in
`__ole_inner_elements'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.4.0/lib/watir-classic/locator.rb:204:in
`each_element'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.4.0/lib/watir-classic/locator.rb:229:in
`each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.4.0/lib/watir-classic/locator.rb:217:in
`locate'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.4.0/lib/watir-classic/input_elements.rb:14:in
`locate'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.4.0/lib/watir-classic/element.rb:223:in
`exists?'
Il giorno giovedì 31 gennaio 2013 16:37:39 UTC+1, Dan ha scritto:
>
> You might want to try downgrading win32-process to version 0.6.6.
> Downgrading that gem has solved similar issues for me.
>
> On Thursday, January 31, 2013 9:04:36 AM UTC-5, Ste wrote:
>>
>> Hi,
>>
>> I have inserted issue #51 at
>> https://github.com/watir/watir-classic/issues
>>
>> I not sure that is a bug given that I verified the problem is in general
>> with all modal dialogs popup handled in a old software (which works fine
>> with Watir 1.6.5) I am trying to update at the latest version of
>> Ruby&Watir. At each attempt to access a modal dialog I always got the
>> following error
>>
>> 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'
>>
>> Anybody know if it is an issue of Watir-Classic 3.4.0 & Ruby 1.9.3 and/or
>> know which is a stable combination of them in order no having problem with
>> modal dialog? Below the list of local gems, if it can help to have
>> indications
>>
>> Thanks a lot
>>
>> Stefano
>>
>> *** LOCAL GEMS ***
>>
>> bigdecimal (1.1.0)
>> builder (3.1.4)
>> ffi (1.3.1 x86-mingw32)
>> hoe (3.5.0)
>> io-console (0.3)
>> json (1.5.4)
>> magic_encoding (0.0.2)
>> mini_magick (3.2.1)
>> minitest (2.5.1)
>> multi_json (1.5.0)
>> nokogiri (1.5.6 x86-mingw32)
>> rake (0.9.2.2)
>> rautomation (0.7.3)
>> rdoc (3.9.4)
>> ruby-oci8 (2.1.4 x86-mingw32)
>> s4t-utils (1.0.4)
>> subexec (0.0.4)
>> user-choices (1.1.6.1)
>> watir-classic (3.4.0)
>> win32-api (1.4.8 x86-mingw32)
>> win32-process (0.7.1)
>> win32screenshot (1.0.7)
>> windows-api (0.4.2)
>> windows-pr (1.2.2)
>> xml-simple (1.1.2)
>>
>
--
--
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.