[wtr-general] rautomation send_keys failing when running on remote machine that is minimized

2013-08-19 Thread Champ
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

[wtr-general] Re: rautomation send_keys failing when running on remote machine that is minimized

2013-08-19 Thread Dan
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

[wtr-general] Re: Handling Choose a digital certificate

2013-08-19 Thread Champ
If you know the exact line number in which the certificate exists, can you try tabbing to that line item and hitting enter with rautomation. Something like this? w = RAutomation::Window.new(:title = /digital certificate/i) w.send_keys('{TAB}') w.send_keys('{TAB}') w.send_keys('{ENTER}') --