... That makes it much easier to find the specific delete button you are looking for.
WATiR treats clickable images as buttons ... so doing ie.button( :id, "delete_84" ).click will cause the _javascript_ to be fired.
Hope that helps ... otherwise you've got a bit more work, but it's still doable.
Let us know if you need more help.
j.
On 10/13/05, 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 alt="Delete Asset"
src="" 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
--
"http://ruby-lang.org -- do you ruby?"
Jeff Wood
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
