Skip to content

verifySelectedIndexes (UI Automation - Interrogation)

  • Purpose
  • Generated from getSelectedIndex(selectLocator).
  • This command gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
  • Syntax
  • verifySelectedIndexes(selectLocator, pattern)
  • Target
  • selectLocator- an element locator identifying a drop-down menu
  • Value
  • pattern - The value to be verified.
  • Return Value
  • The selected option index in the specified select drop-down.

Feedback and Knowledge Base