Skip to content

assertSelectedIds (UI Automation - Interrogation)

  • Purpose
  • Generated from getSelectedIds(selectLocator).
  • Gets all option element IDs for selected options in the specified select or multi-select element.
  • Syntax
  • assertSelectedIds(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