On Tue, Sep 28, 2010 at 6:24 PM, Rodrigo Martín <
adi...@gmail.com> wrote:
> Hello everyone!
> I need to click a "Delete" image in a table, which doesn't have an ID
> that ties the image with the item to be deleted.
> However, the "onclick" contains the Name of the Item to delete, so I
> thought using that for proper automation. How can I identify an image
> by using this "onclick" attribute?
>
> Here is the HTML object mentioned:
>
> <img border="1" src="/images/delete.gif" onclick="if
> (confirmDelete( 'RinaTest' ) ) window.location='DeletePromotion.do?
> metadata_id=130'" title="Delete">