Skip to content

assertNotElementIndex (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Get the relative index of an element to its parent (starting from 0). The comment node and empty text node will be ignored. This command passes when the index to be verified does not match.
  • Syntax
  • assertNotElementIndex(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself
  • Value
  • Pattern - Index of an element to be verified
  • Return Value
  • Relative index of the element to its parent (starting from 0).
 
 
 
 

Feedback and Knowledge Base