ElementIndex

From STIQ

Jump to: navigation, search

storeElementIndex ( locator, variableName )

assertElementIndex ( locator, pattern )
assertNotElementIndex ( locator, pattern )
verifyElementIndex ( locator, pattern )
verifyNotElementIndex ( locator, pattern )
waitForElementIndex ( locator, pattern )
waitForNotElementIndex ( locator, pattern )


Arguments:

  • locator - an element locator pointing to an element
  • variableName - the name of a variable in which the result is to be stored.


Returns:

  • The relative index of the element to its parent (starting from 0). The comment node and empty text node will be ignored.
Personal tools
Noteworthy