Skip to content

verifySelectedValue (UI Automation - Synchronization)

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
  • verifySelectedValue(selectLocator, pattern)
  • Target
  • selectLocator
  • Value
  • pattern
  • Return Value
  • Selected option value in the specified select drop-down

Feedback and Knowledge Base