Check Component Exists in Java App

Overview

If a specified element that matches the XPath is found, the operation returns true, if one cannot be found it returns false. The user can assign the result to a variable which can be used later in the task.

Inputs

XPath The XPath of the element to check for.
Relative to Element A UI element to make the XPath relative to, retrieved with the "Get Element from Java App" operation. This is an advanced and optional feature. See the XPath Document for more information.