Skip to content

assertSelectOptions (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getSelectOptions(selectLocator) 
  • This command is used to verify if all the option labels in the specified select drop-down matches the pattern given in the Value.
  • The execution get aborted if the options did not match.
  • Syntax
  • assertSelectOptions(selectLocator, pattern)
  • Target
  • selectLocator
  • Value
  • pattern
  • Return Value
  • An array of all option labels in the specified select drop-down.
 

Feedback and Knowledge Base