Skip to content

storeSelectedIndexes (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from getSelectedIndexes(selectLocator)
  • This command gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
  • Syntax
  • storeSelectedIndex(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 indexes in the specified.
 

Feedback and Knowledge Base