[wtr-general] Re: Cannot click popup window in IE using watir 1.6.5

2010-03-24 Thread al3kc
I use this method only for unexpected popups. But for expected popups (e.g. file downloading) I use click method, not click_no_wait. In watir 1.6.5 click_no_wait doesn't work for me at all, it highlight element but doesn't click . In 1.6.2 it was ok. On Mar 24, 12:38 am, Darryl Brown

[wtr-general] Re: Cannot click popup window in IE using watir 1.6.5

2010-03-23 Thread al3kc
I have found work around for my problem. I use the following methods def check_for_popups loop do popup = autoit.WinWait('Confirm, '', 0.1) if popup == 1 autoit.Send('{ENTER}') end end end and create new process with this method: @pid = Process.create( :app_name

[wtr-general] Re: Cannot click popup window in IE using watir 1.6.5

2010-03-23 Thread Darryl Brown
Hi, Are you running a test that encounters unexpected popups? If they are expected, why not use click_no_wait and handle them individually. Regards, Darryl On Mar 23, 11:38 am, al3kc aleks.kiev...@gmail.com wrote: I have found work around for my problem. I use the following methods def