Skip to content

storeSelectedId (UI Automation - Manipulation)

Compatible with:
  • Purpose 
  • Generated from getSelectedId(selectLocator)
  • Gets option element ID for selected option in the specified select element.
  • Syntax
  • storeSelectedId(selectLocator, variableName)
  • Target
  • selectLocator - An element locator identifying a drop-down menu.
  • Value
  • variableName - A variable to store.
  • Return Value
  • The selected option ID in the specified select drop-down.
 

Feedback and Knowledge Base