Returns an element by searching for it using a node index path.
Examples
Examples
For example:
This call: ByNodeIndexPath("0/2/0/1") describes the <target></target> element in the below hierarchy:
<referenceElement>
(0)<foo>
<bar>
</bar>
<car>
</car>
(2)<bus>
(0)<driver>
<cap>
</cap>
(1)<target>
</target>
</driver>
</bus>
</foo>
</referenceElement>
This call: ByNodeIndexPath("0/2/0/1") describes the <target></target> element in the below hierarchy:
<referenceElement>
(0)<foo>
<bar>
</bar>
<car>
</car>
(2)<bus>
(0)<driver>
<cap>
</cap>
(1)<target>
</target>
</driver>
</bus>
</foo>
</referenceElement>
Parameters- nodeIndexPath (String)
- The node index path. This is a forward slash delimited list of tree node indexes that describe a specific path to a target element while ignoring the actual element tags and simply describing the hierarchal relationship to that element.
Return ValueThe found element. The function returns null if no element is found.
Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)
