Skip to content

storeSelectedLabel (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • This command gets option label (visible text) for selected option in the specified select element. It returns selected option label in the specified select drop-down
  • Syntax
  • storeSelectedLabel(selectLocator, variableName)
  • Target
  • selectLocator - an element locator identifying a drop-down menu
  • Value
  • variableName
  • Return Value
  • The selected option label in the specified select drop-down
 

Feedback and Knowledge Base