Try
 
$ie.frame( :name, "main" ).image( :alt, "Delete Asset" ).click
 
If that doesn't work, please provide a bit more information. Debugging with a blindfold is pretty hard stuff.
 
j.

 
On 10/24/05, amol deshpande <[EMAIL PROTECTED]> wrote:
Hi,
try and use the alt attribute.
$ie.frame("main").image(:alt,"Delete
Asset").fire_event("onclick")
AD

--- Roy Sin <[EMAIL PROTECTED]> wrote:

> Hi All
>
> I have an image tag like:
> <IMG alt="Delete Asset"
> src="" border=0>
>
> I tried the following where the variable $theid is
> 1334
> from
> above but
>
> $ie.frame("main").image(:text,
> />>
> but i get the error
> Watir::Exception::UnknownObjectException: Unable to
> locate
> object, using text and (?-mix:>>
> thanks in advance for any help on that.
>
>
>
>
>
>
> __________________________________
> 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! FareChase: Search multiple travel sites in one click.
http://farechase.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

Reply via email to