I'd like to check if a radio button is selected or not with its id for instance.
Element that needs to be checked:
<input id="Evidence_of_Obstruction" class="" type="Radio" checked="" onclick="changeSaveStatus(this, "72");" value="0" name="Patency">
Command: assertValue Target: name='Patency' Value: on
or something quite similar to that. You can use the proposed commands in the Selenium IDE by right clicking on the radio button and chosing one of the commands.
Using Selenium IDE I prefer element ids, which would be close to what t3hn00b suggested:
Command: assertValue Target: id=Evidence_of_Obstruction Value: on
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With