> Watir::Exception::UnknownObjectException: Unable to locate object, using src
> and
> http://172.16.54.111/images/buttons/ok.gif
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1054/./watir.rb:2267:in
> `assert_exists'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1054/./watir.rb:2405:in
> `click'
>         from (irb):7
>
> I also tried a regex ( /ok.gif/ ), and a different method (flash) just to
> see if the object would be found, but no luck.


Now, that's a good question!
Just out of curiosity, did you try

browser.button(:src,'http://172.16.54.111/images/buttons/ok.gif').click

?
I'm just guessing, but it's worth a try.
-Chris
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to