Skip to content

storeChecked (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • The command gets the result whether a toggle-button (checkbox/radio) is checked. Fails if the specified element doesn't exist or isn't a toggle-button.
  • Syntax
  • storeChecked(locator, variableName)
  • Target
  • locator - an element locator pointing to a checkbox or radio button
  • Value
  • variableName - the name of a variable in which the result is to be stored.
  • Return Value
  • true if the checkbox is checked, false otherwise.
 

Feedback and Knowledge Base