Is Element Exists Activity
The Is Element Exists activity checks whether a specific UI element currently exists within a native Windows desktop application, and stores the result as a boolean value for use in conditional logic.
| Field | Description | Requirement |
|---|---|---|
| Application instance | The reference name of the application instance previously opened or attached. | Required |
| Element | The JSON-based selector identifying the target element. | Required |
| Retry count | The number of times the activity will retry the check before returning false. | Optional |
| Result variable name | The name of the variable where the boolean result will be stored. | Required |
Action Types & Examples
Element Exists Check
- Format: boolean
- Example Result:
true
Implementation Examples
Field Setup - Application instance: ${appInstance} - Element: the target element identified by the UI Automation Inspector - Result variable name: elementExistsResult
Execution Parameters - Retry count: 3
Technical Notes
Increasing
Retry counthelps avoid false negatives when an element has not fully rendered yet at the moment of the check.