Skip to content

verifyValue (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Verifies the (whitespace-trimmed)value of an input field (or anything else with a value parameter). For checkbox/radio elements, the value will be "on" or "off" depending on whether the element is checked or not.
  • Syntax
  • verifyValue(locator, pattern)
  • Target
  • locator - an element locator
  • Value
  • element value/on or off
  • Return Value
  • the element value, or "on/off" for checkbox/radio elements
 

Feedback and Knowledge Base