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

Reply via email to