Tag Archives: radio

Set styled radio buttons and checkboxes that have hidden or overlapped the input field

Problem There seems to be an upward trend in applications using label elements to style radio buttons and checkboxes. This can cause issues when Watir tries to set the field. For example: Setting a jQuery Mobile checkbox, results in the … Continue reading

Posted in Watir, Watir-Webdriver | Tagged , | Leave a comment

Randomly set a radio button within a group

Problem A page contains a radio button group, ie multiple radio buttons with the same name attribute, and requires that one of the buttons be selected. Neither is selected by default. When inputting the form, how can one be randomly … Continue reading

Posted in Watir, Watir-Classic, Watir-Webdriver | Tagged , | Leave a comment