emckb = ie.checkbox(:id, 'enableSmtpEmail')
x = :set
y = :clear
emckb.send(x) # Will be set
emckb.send(y) # Will be clear
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Željko and Ivan
Both of your solutions work. The one that Željko suggested works the
best for my particular situation as I can use my spreadsheet calls
directly - that's what I was trying to accomplish. I get set or clear
from a spreadsheet.
So, this is working for me now:
emckb.send
Darryl
I use this solution:
$br.checkbox(:id, includeSponsor).set if study[includeSponsor] ==
true
R.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general