Hi All,

There is a javascript pop-up. I am handling as shown below. It is working 
fine only if that window is enabled. 

If the machine is locked or moving to the another window while execution. 
Its not working. Is there any way to focus that window after pop up is 
enabled.

$ie.wait_until{$ie.javascript_dialog.button('OK').enabled?}
 $ie.javascript_dialog.button('OK').click

Please let me know your thoughts.

Thanks,
Praveen

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to