Bret,
Im assuming you've named remote_eval that based on what it is doing. I dont 
find it a very intuitive name. Maybe something like one of these:

ie.execute_command( )
ie.run_command()
ie.delayed_execution()  # is it actually delayed??

THis does look really good, thanks for doing it. This had always ben the 
weakest part of watir, an now we have a nice solution

Paul



----- Original Message -----
From: Bret Pettichord <[EMAIL PROTECTED]>
Date: Tuesday, August 9, 2005 4:40 pm
Subject: RE: [Wtr-general] New, improved support for popup dialogs

> Any object is supported, buttons, links, whatever.
> 
> At 05:21 PM 8/9/2005, Iain wrote:
> >         controls = ie2.frame(:name, "Controls")
> >         controls.remote_eval "link(:index, 2).click()"
> >         dialog.button('OK').click
> 
> Instead try this:
> 
>         ie2.remote_eval "frame(:name, 'controls').link(:index, 
> 2).click()"         dialog.button('OK').click
> 
> The key point is that remote_eval is a method of IE, and not of 
> any other 
> class.
> 
> 
> _____________________
>  Bret Pettichord
>  www.pettichord.com
> 
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to