Skip to content

verifySelectedIds (UI Automation - Interrogation)

  • Purpose
  • Generated from getSelectedIds(selectLocator).
  • This command gets all option element IDs for selected options in the specified select or multi-select element.
  • Syntax
  • verifySelectedIds(selectLocator, pattern)
  • Target
  • selectLocator- an element locator identifying a drop-down menu
  • Value
  • pattern - The value to be verified.
  • Return Value
  • An array of all selected option IDs in the specified select drop-down

Feedback and Knowledge Base