It worked. I've got IDs wrong. Thank you very much, Brett!

On 8/10/05, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> Comment By: Anna T (annchen)
> Date: 2005-08-10 21:26
> 
> Message:
> Brett, I have read the thread, and found there what I needed.
> Now there's another question. I'm using remote_eval from within a frame,
> and an object I need clicked is not clicked. No error returned:
> 
> ie1 = ie.frame(:name, "MyFrame")
> require 'watir/dialog'
> ie.remote_eval <<-END
>   ie1.image(:id, "ImageID").click
> END
> 
> ie is attached to a frame window, not to the frame source; ie1 is a frame.
> What's wrong?
> 
> I tried attaching ie to the frame source URL, but it does not work.
> 
> Thanks for your help.
> Anna.
> 
> ----
> 
> Try
> 
>   ie.remote_eval "frame(:name, 'MyFrame').image(:id, 'ImageID').click"
> 
> 
> 
> _____________________
>  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