You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to watij
Dear friends,
I have this requirement. i made a search for this in our group. but i
found none. so i post this question.
I have a option group like this
<select>
<optgroup label="test1">
<option>a</option>
<option>b</option>
<option>c</option>
</optgroup>
<optgroup label="test2">
<option>a</option>
<option>b</option>
<option>c</option>
</optgroup>
</select>
<input type="button1" name="buttontest1"/>
in this, i have to select option a under label test1 and click on this
button. How do i achieve this?
please help!!
Thanks and Regards
Jerald
Darrell Grainger
unread,
Dec 16, 2009, 10:54:55 AM12/16/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wa...@googlegroups.com
You can use xpath to find the option. For example,
Option o = ie.option(xpath,
"//SELECT/OPTGROUP[@label='test1']/OPTION[@text='a']");