Skip to content

storeSelectedValues (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from getSelectedValues(selectLocator).
  • This command gets all option values (value attributes) for selected options in the specified select or multi-select element.
  • Syntax
  • storeSelectedValues(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 values in the specified select drop-down
 

Feedback and Knowledge Base