Skip to content

verifyXpathCount (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • This command is used to verify the number of nodes that match the specific xpath, eg. "//table" would give the number of tables.
  • Syntax
  • verifyXpathCount(xpath, pattern)
  • Target
  • xpath - the xpath expression to evaluate. do NOT wrap this expression in a 'count()' function; we will do that for you.
  • Value
  • pattern
  • Return Value
  • N/A
 

Feedback and Knowledge Base