Not sure where you were looking in the documentation, but I’m pretty sure that “disabled?”  is a method available on buttons.

 

Maybe something like

 

ie.button(:text,”ReadMe”).disabled?

 

might work.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Munns
Sent: Thursday, September 28, 2006 10:22 AM
To: [email protected]
Subject: [Wtr-general] detecting button as disabled or enabled

 

With ruby/watir, is there a way to detect if a button has been disabled?


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 9/26/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 9/26/2006

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to