storeSelectedIndex (UI Automation - Manipulation)
Compatible with:
- Purpose
- Generated from getSelectedIndex(selectLocator)
- This command gets option index (option number, starting at 0) for selected option in the specified select element.
- Syntax
- storeSelectedIndex(selectLocator, variableName)
- Target
- selectLocator - an element locator identifying a drop-down menu
- Value
- variableName - A variable to store.
- Return Value
- The selected option index in the specified select drop-down