Skip to content

storeSelectedValue (UI Automation - Manipulation)

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

Feedback and Knowledge Base