You can try like this:
$s = @ie_ref.div(:id, "footer").image(:src, /dist_update.png/).click

Hope this can help you.
Doris

On Monday, February 23, 2009 10:24:52 PM UTC+8, Narendra Gollapilli wrote:
>
> Hi,
>
> I m new to WATIR in the below code need to click on "Update".
>
> We are able to access div  tag *"footer"* like $s = @ie_ref.div(:id, 
> "footer"), after that m unable to catch the click on "*Update"*.
>
> <div id="widgetFooter" class="clearfloat">
> <div id="footer">
> <center>
> <ul>
> <li>
> <a onclick="onClickEditProfile()">
> <img title="*Update*" src="../local_gadgets/files/dist_update.png"/>
> </a>
> </li>
> <li>
> <a onclick="onClickManageGadgets()">
> <img title="Manage Gadgets" 
> src="../local_gadgets/files/plugin_update.png"/>
> </a>
> </li>
> </ul>
> </center>
> </div>
> </div>
>
> Please help me out from this
>
> Thanks&Regards,
> Narendra.
>

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to