Hi roy, I hope that is a table in which you are having your asset and delete icon. Case 1 : if each trash can has an unique alt attribute use that. ie.button(:alt,"asd").click Note :it is a image button. Case 2: access the table by id,reach the row by index and do the click. table = ie.table(:id,"asd") rowcount = table.row_count ie.table[rowcount][1].link(:id,"fdf").click.
hope this helps Amol --- Roy Sin <[EMAIL PROTECTED]> wrote: > I have a list of assets on a list page, basically > one asset > per row. And if the asset can be deleted, a trash > can will > be visible at the beginning of that row. It's not > like a > button where I can look for the attribute name. I > can > search for the asset name but how do I instruct the > script > to click the trash can next to that asset name? > below is the property of that image. > <IMG onclick=rusure(84) alt="Delete Asset" > src="/mypath/images/del.gif" border=0></TD> > > thanks > Roy > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > No Body Has ever Collided With The Sky...So Sky Is The Limit! __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
