Skip to content

assertSelectedId (UI Automation - Interrogation)

  • Purpose
  • Generated from getSelectedId(selectLocator).
  • This command gets option element ID for selected option in the specified select element.
  • Syntax
  • assertSelectedId(selectLocator, pattern)
  • Target
  • selectLocator- an element locator identifying a drop-down menu
  • Value
  • pattern - The pattern to be verified.
  • Return Value
  • The selected option ID in the specified select drop-down
 
 
 
 
 

Feedback and Knowledge Base