George,
Your solution is the only one that is working for me for handling
popups. Thank you!
Minor thing  I couldnt figure out:
Each time that there is a popup, ruby.exe process is being created. At
the end of the test, I have lots of ruby.exe processes running, and if
I have multiple testes running one after another, I have even more
ruby.exe processes alive.

at_exit is not killing them, and if I do only: Process.kill(9,@pid),
then the popup is not closing, maybe because the process is being
killed before the click.

Any idea?

On Mar 5, 2:20 am, Željko Filipin <[email protected]>
wrote:
> On Thu, Mar 4, 2010 at 6:04 PM, George <[email protected]> wrote:
> > I added this solution to the wiki.
>
> Thanks!
>
> > It would be nice
> > to know if it works well for others. I couldn't seem to get any of the
> > other suggestions to work for me.
>
> If it works for you, it could help somebody else. Personally, I always
> insist that the application does not have pop-ups. I just refuse to automate
> tests that have to deal with popups (exceptions are file uploads and div
> popups.). It has worked for me for the past five years.
>
> Željko

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to