Skip to content

assertSelectedValue (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getSelectedValue(selectLocator) 
  • This command is used to verify if the pattern of value attribute for selected option in the specified select element matches the pattern given in the Value.
  • Syntax
  • assertSelectedValue(selectLocator, pattern)
  • Target
  • selectLocator
  • Value
  • pattern - The value to be verified.
  • Return Value
  • Selected option value in the specified select drop-down
 

Feedback and Knowledge Base