Get Element
Finds an element and runs the activities dropped inside it with this element. The element is specified with the selector in the designer. It is a single item in the toolbox: the selector window detects the technology of the selected element (Windows, browser, SAP, Java), and when the selector is saved, the activity turns into that technology's version. If the element is not found within the time, or if the selector matches more than one element and the selector has no Match Index, the activity throws an error. On SAP, it also throws an error if there is no SAP GUI connection.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ❌ No | Maximum time to wait for the element to be found. If left empty, 30 seconds. |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
| by technology | The element found. Can also be used as |
By technology
Technology | Element type | Default timeout |
|---|---|---|
Windows |
| 30 seconds |
Browser |
| 30 seconds |
SAP |
| 30 seconds |
Java |
| 30 seconds |
Usage
On the canvas:
Open Selector opens the selector window. After an element is selected, the button's name changes by technology (e.g. Edit Windows Selector).
Highlight shows the element found by the selector on the screen.
The activities to run after the element is found are dropped in the Add Activity area. In these activities, the found element is used with the
elementvariable. TheElementinput of activities such as Click Element, Type Into and Get Element Value holds theelementvalue by default; so when dropped inside, they work with the found element.
The activities inside run once. If it is empty inside, the element is only found and written to the Element output.