Radio button test page
Try seting each radio button
Radio1
# Here is the HTML code for this radio buton
<input type="radio" name="likeit" value="Radio1" checked="checked" /> Radio1
# There are several ways of accessing this button
browser.radio(:index, 1).click - this is the 1st radio button
browser.radio(:value, "Radio1").click
# this button hasnt got a class or id
Radio with class
# Here is the HTML code for this radio buton
<input type="radio" name="likeit" class="radioclass" value="Nope" checked="checked" /> Radio with class
# There are several ways of accessing this button
browser.radio(:index, 2).click - this is the 2nd radio button
browser.radio(:value, "Nope").click
browser.radio(:class, "radioclass").click
Radio with id
# Here is the HTML code for this radio buton
<input type="radio" name="likeit" id="radioId" value="No" checked="checked" /> Radio with id
# There are several ways of accessing this button
browser.radio(:index, 3).click - this is the 3rd radio button
browser.radio(:id, "radioId").click
Radio with name
Radio5
Radio6
# It is not possible to set all the radio buttons
# since they all have the same name
# You also cnnot reference them by their name since its all the same