assertElementIndex (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.
- Syntax
- assertElementIndex(locator, pattern)
- Target
- locator - an element locator pointing to an element OR an element itself.
- Value
- N/A
- Return Value
- Relative index of the element to its parent (starting from 0).