The Get UI Attribute block retrieves a specific attribute from a desktop UI element, typically found using the Find UI Element block, in an already open application window.
It is commonly used in desktop UI automation to extract values such as visibility, selection state, text, or accessibility labels from UI controls.
This block does not trigger execution or flow branching. Instead, it acts as a passive data extractor, supplying attribute values to downstream blocks.
When fully expanded, the Get UI Attribute block displays the following properties:
Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.
Quick-start
-
Drag Get UI Attribute onto the canvas.
-
Connect Source element input and output.
-
Select one or more Desktop attributes.
-
Run the flow when it’s ready.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |