Skip to content

storeSelectedIds (UI Automation - Manipulation)

Compatible with:
  • Purpose 
  • Generated from getSelectedIds(selectLocator)
  • Gets all option element IDs for selected options in the specified select or multi-select element.
  • Syntax
  • storeSelectedIds(selectLocator, variableName)
  • Target
  • selectLocator - An element locator identifying a drop-down menu.
  • Value
  • variableName - A variable to store.
  • Return Value
  • An array of all selected option IDs in the specified select drop-down.
 

Feedback and Knowledge Base