assertChecked (UI Automation - Interrogation)
Compatible with:
- Purpose
- Gets whether a toggle-button (checkbox/radio) is checked. Fails if the specified element doesn't exist or isn't a toggle-button.
- Syntax
- assertChecked(locator)
- Target
-
locator - an element locator pointing to a checkbox or radio button
- Value
- N/A
- Return Value
- N/A