Hi,
How can I check if a check box is checked in Ruby Watir?
The following line only sets the checkbox:
ie.checkbox(:name,“Test1”).set
Thanks,
Erika
Hi,
How can I check if a check box is checked in Ruby Watir?
The following line only sets the checkbox:
ie.checkbox(:name,“Test1”).set
Thanks,
Erika
I resolved it by using:
ie.checkbox(:name,“Test1”).clear, because this was what I wanted to
achieve.
But if anyone knows how can be checked, if it is set or not the check
box please post
Thanks,
Erika
From: Erika [email protected]
To: ruby-talk ML [email protected]
Sent: Wednesday, November 12, 2008 10:43:53 AM
Subject: check a checkbox
Hi,
How can I check if a check box is checked in Ruby Watir?
The following line only sets the checkbox:
ie.checkbox(:name,“Test1”).set
Thanks,
Erika
Erika wrote:
I resolved it by using:
ie.checkbox(:name,“Test1”).clear, because this was what I wanted to
achieve.But if anyone knows how can be checked, if it is set or not the check
box please postThanks,
Erika
From: Erika [email protected]
To: ruby-talk ML [email protected]
Sent: Wednesday, November 12, 2008 10:43:53 AM
Subject: check a checkboxHi,
How can I check if a check box is checked in Ruby Watir?
The following line only sets the checkbox:
ie.checkbox(:name,“Test1”).setThanks,
Erika
puts ie.checkbox(:name,“Test1”).checked?
hth,
Siep
I have tired usign this but still not working, can anyone help me on
this.
puts ie.checkbox(:name,“Test1”).checked?
But if anyone knows how can be checked, if it is set or not the check
box please post
thanks
Ramesh Y
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs