|
Well the other thing to do is try the code
below. What you do is get the underlying _javascript_ object of the page and then
interact with it as you would with _javascript_. You get all the elements with
the name you supply and then access the one you want using the indexer on that
array. Then you just set the checked property of that object to true and it
should work. Let me know how it turns out. ie_browser.getDocument().getElementsByName(“Add_member[]”)[index
of control].checked = true; From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch, Bernd Unfortunately I do not know the value
beforehand. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergio Pinon Do you know the value of the checkbox
beforehand? If you do then just use this method: Ie_browser.checkbox(:name,
“Add_member[]”, “35”).set(); This should be good to go. Sergio From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch, Bernd Hello,
I have
following html code and like to select the checkbox for "Test3". How
can I do that? <input
type="checkbox" name="Add_member[]"
value="25"></td><td> Test1</td><td>
Subscriber</td><td>208</td></tr> Thanks.
|
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
