Skip to content

storeElementIndex (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • This command is used to get the relative index of an element to its parent (starting from 0). The comment node and empty text node will be ignored.
  • Syntax
  • storeElementIndex(locator, variableName)
  • Target
  • locator - an element locator pointing to an element
  • Value
  • variableName
  • Return Value
  • It returns relative index of the element to its parent (starting from 0)
 

Feedback and Knowledge Base