Skip to content

assertSelectedIndexes (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
  • assertSelectedIndexes(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