In a page there are 4 radio buttons which are having same names (They don't have ids or any other attribute to distinguish).

I am writing the sample below


<html>

<script type="text/_javascript_">
/////
</script>

<tr><td><b>Select one from following </td>
</tr>

<br>
<tr>
<td><input type="radio" name="name1"></input></td><td></td>
<td>&31</td><td></td>
</tr><br>
<tr>
<td><input type="radio" name="name1"></input></td><td></td>
<td>&32</td><td></td>
</tr><br>
<tr>
<td><input type="radio" name="name1"></input></td><td></td>
<td>&33</td><td></td>
</tr><br>
<tr>
<td><input type="radio" name="name1"></input></td><td></td>
<td>&35</td><td></td>
</tr>

<br><br>

<tr><td><input type="submit" name="submit" value="Go" >

</html>


Now using Selenium I need to click 3rd radio button. How can I do this.
Thanks for your help in advance.
 
Regards,
Rahul
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to