in reply to Re^2: CheckBox and Radio Button
in thread CheckBox and Radio Button

You didn't specify that you wanted the state of inputs in a browser controlled using Win32::IEAutomation. I assumed you were checking inputs sent to you using CGI.

Seeing if a checkbox is checked can be done using:

$checkbox->getProperty('checked');

For radio, you'll have to iterate through all the elements with the name in which you are interested and use ->getProperty('checked') until you find one that's checked. Unfortunately, there doesn't seem to be a clean way of getting all the radio elements with a given name, so you might have to iterate through all the radio elements and filter out those that don't have the name in which you are interested.