Skip to content

waitForSelectedIndex (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • Generated from getSelectedIndex(selectLocator)
  • This command waits for the implicit time period when the page loads, gets option index (option number, starting at 0) for selected option in the specified select element.
  • Syntax
  • waitForSelectedIndex (selectLocator, pattern)
  • Target
  • selectLocator- An element locator identifying a drop-down menu.
  • Value
  • pattern
  • Return Value
  • Pass, if the selected option index in the specified select drop-down is present.
 
 
 
 
 
 

Feedback and Knowledge Base