Hello, I have this html script. <td width="20%"> <input id="rating[65]" type="checkbox" value="1" name="rating[65]"/> <a title="Edit Rating" href="/Nikes/ratings/65/edit"> <span class="bold">Ratingsanity1</span> </a> </td>
The scenario is i want to click on the checkbox which has title "Ratingsanity1". Now here i can tick the checkbox by using the name method but the no. isn't going to be same all the time. I tried following code but still no success. Please help. 1: Browser.checkbox(:after?, Browser.cell(:text, "Ratingsanity1")).click --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---