If it's simply disabling/enabling the button element then you can do:
$ie.button(:name, "clickme").enabled?

to check whether it's enabled or not.

-Charley

On 9/28/06, David Munns <[EMAIL PROTECTED]> wrote:
>
>
>
>
> With ruby/watir, is there a way to detect if a button has been disabled?
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to