Skip to content

assertNotXpathCount (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getXpathCount(XPath)
  • This command returns the number of nodes that match the specified XPath, eg. '//table' would give the number of tables. This command passes when the number of XPaths does not match the actual value.
  • Syntax
  • assertNotXpathCount(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 - The XPath count to be verified.
  • Return Value
  • The number of nodes that match the specified XPath
 
 
 
 
 

Feedback and Knowledge Base