Skip to content

waitForSelectedIndexes (UI Automation - Synchronization)

  • Purpose
  • Generated from getSelectedIndexes(selectLocator)
  • This command waits for the implicit time period when the page loads, gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
  • Syntax
  • waitForSelectedIndexes (selectLocator, pattern)
  • Target
  • selectLocator- An element locator identifying a drop-down menu.
  • Value
  • pattern
  • Return Value
  • Pass, if all selected option indexes in the specified select drop-down are present.
 
 
 
 
 
 

Feedback and Knowledge Base