Set the 'disabled' attribute to false. I don't recall if there is an accessor for this in watir.
button.disabled = false that may not work - if it doesn't, try button.ole_object.disabled = false On Tue, May 18, 2010 at 05:57, gmile <[email protected]> wrote: > I'm trying to enable the button manually. How do I do that? I'd > thought there's something as the following methods: > — b.button(:value, "MyButton").enable > — b.button(:value, "MyButton").set(:enabled, true) > > By there's no such methods. So is it possible to enable the button via > Watir at all? > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: [email protected] > To unsubscribe: > [email protected]<watir-general%[email protected]> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
