If it's a javascript popup you don't need rautomation and you shouldn't 
have this problem.  Check out http://watirwebdriver.com/javascript-dialogs/
 or http://rubydoc.info/github/watir/watir-classic/frames.

On Monday, August 19, 2013 6:27:31 PM UTC-4, Champ wrote:
>
> Hello,
>
> I use rautomation frequently within my watir scripts to work with popups. 
> It works really well when I have an open active window and browser open and 
> I use the send_keys functionality.
>
> However,  it is failing when I run the scripts on a remote machine 
> minimized as a window, It just stays at the popup where it is supposed to 
> send the keys.
>
> I am suspecting it is something to do with activating the popup window, 
> but not sure.
>
> Any inputs?
>
> Eg script:
>
>   @ie.button(:text, "logoff").click_no_wait
>   logoff_win= RAutomation::Window.new(:title => "page title", :adapter => 
> :autoit)
>   logoff_win.WinWait("page title",'',7)
>   logoff_win.WinActivate("page title")
>   logoff_win.send_keys('{ENTER}')
>
>
> -champ
>

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