I am trying to create a test for removing an item from a shopping cart: ================= HTML snippet =================
<td valign=top class="texttablectr" style=""> <a id='remove0' href='#'> <img src='/images/icons/store/btn_removeFromCart.gif' width=13 height=13 style='border:0px' alt='Click to remove item' onclick="document.forms['cart'].elements['item27set292093'].value='0'; document.forms['cart'].submit()"> </a> </td> ============= ruby WATiR code ============= b.link(:id => 'remove0').img.click (b for browser) When I run the code IT IS NOT returning an error but it is not removing the item. Do I need to do a css type of event?? I am stumped... -- 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