Silk4J supports a subset of the XPath query language. For additional information about XPath, see
XPath expressions rely on the current context, the position of the object in the hierarchy on which the
method was invoked. All XPath expressions depend on this position, much like a file system. For example:
- "//Shell" finds all shells in any hierarchy starting from the current context.
- "Shell" finds all shells that are direct children of the current context.
Additionally, some XPath expressions are context sensitive. For example, myWindow.find(xPath) makes myWindow the current context.
Dynamic object recognition uses a
FindAll functions to identify an object in a test case.