Skip to content

assertSelectedValues (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getSelectedValues(selectLocator).
  • This command gets all option values (value attributes) for selected options in the specified select or multi-select element.
  • Syntax
  • assertSelectedValues(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 values in the specified select drop-down.
 
 
 
 
 

Feedback and Knowledge Base