Your HTML snippet didn't show that there where any frames.  Find the
name of the frame that contains the image using e.g:

   ie.show_frames.some_frame.show_images

If the image is listed for frame "show_frame" (frames will have
different names for you) then you could use:

   ie.frame("some_frame").image(:src, /logout/).flash

Cheers,
Daniel.



On 15/11/06, Nie Guoqiang <[EMAIL PROTECTED]> wrote:
> The codes doesnot work :(
>
> More tips:
> When I execute  ie.show_frames(), I get "There is 6 frames".
> And when ie.show_images() is executed, message is "0".
>
> Thanks
>
>
> > On 11/14/06, Nie Guoqiang <[EMAIL PROTECTED]> wrote:    how can i access 
> > this icon-button.
> >       <img src="../images/nation/btn_logout.gif" />
> >
> >
> >
> > Hi Nie,
> >
> > This will click logout image:
> >
> > ie.image(:src, /logout/).flash
> >
> > If this does not do what you need, let me know.
> >
> > 沤eljko
> > --
> > http://zeljkofilipin.com/
>
>
>  =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>    Nie Guoqiang   NEC-CAS Software Department 1K/4SG
>
>      Tel    : 010-82334433-356  /  8-0086-22-356
>      Email  : [EMAIL PROTECTED]
>  =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>
>
> _______________________________________________
> 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