It’s very easy to validate the checked (or unchecked) state of a checkbox or a radio button in Testim.
- Hover over the arrow menu where you want to add your validation.
- Click ‘M’ ⇒ Actions tab ⇒ 'Validate checkbox' or 'Validate radio button'.
- Select the checkbox or radio button you would like to validate.
Once the element is selected you'll be able to use the property panel to configure whether the checkbox (or radio button) state should be checked or unchecked during the test.
Note: Checkbox and radio button validations can be used only on native checkboxes or radio input elements. Custom checkbox implementation that doesn't use an underlaying input is not supported.
Updated about a month ago