https://rvm.io/

---
Jose Calderon-Celis




2014/1/7 Jorge Castro <[email protected]>

> Mmm have you tried to use gem with jvm on linux?
> Jorge Castro
> Verizon Terremark
> ------------------------------
> *From: * [email protected]
> *Sender: * [email protected]
> *Date: *Mon, 6 Jan 2014 02:26:22 -0800 (PST)
> *To: *<[email protected]>
> *ReplyTo: * [email protected]
> *Subject: *[wtr-general] problem with using watir and win32ole together
>
> I am using watir to automate a browser application which has modal
> dialogs, but i also use excel to drive what automated tests are run.
>
> The problem I have is when I add the statement require 'win32ole' into my
> script this then causes errors when I try and deal with a modal dialog.
> When I take the require 'win32ole statement out it works fine.
>
> The error I get when require 'win32ole' is present and try and deal with a
> modal dialog is this....
>
> 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'
>
>
> When I remove the require 'win32ole' the above error does not happen.
>
>
> Has anyone come across this problem and if so how do I over come it ?
>
> --
> --
> 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.
>
> --
> --
> 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.
>

-- 
-- 
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.

Reply via email to