multiexcerpt-include |
---|
...
-macro | ||||||||
---|---|---|---|---|---|---|---|---|
|
Info |
---|
This article shows you how to click on any text or link on the screen in Aria Digital Workplace Automation. |
Purpose
Clicks text or a hyperlink in the current Application or website that has a text value.
Usage
...
double click a button using Genta Automation. |
...
Syntax
Code Block | ||
---|---|---|
| ||
Double Click "Save" label |
Click a link with only a partial match of the text:
Code Block |
---|
Click "**Terms and conditions" label |
Info |
---|
** will wildcard match the first instance of the text New User found within text and links in the UI. When you use this wildcard put as much as possible in order to ensure it finding the correct text/link. You can use the wildcard and placement values such as -third (see below) to both find |
Click a link called “Help” nearest to the text on screen of “New Item”:
Code Block |
---|
Click "Help" label -nearestlabel("New Item") |
Click the fifth “Add” link on the screen
Code Block |
---|
Click "Add" label -fifth |
Inputs/Switches
...
Input/Switch
...
Values
...
Details
...
Name
...
Click "Cancel" label
Click "**I accept" label
...
The text inside the link exactly as shown or the first instance partially matching by using the wildcard prefix of **.
...
Placement
...
Click "Add" label -second
...
If there are multiple links with the same text you can specify which to click. You can use first, second, third, fourth or fifth.
...
Neareast Label
...
Click "Save" label -nearestlabel("New Item")
...
If you have multiple links with the same text you can help Aria find it by indicating some other text that is unique to that particular part of the screen.
Key Considerations
None
...
BUTTON LABEL HERE" |
Example 1
The example syntax below will command Genta to find the button labeled “My Documents” and double click it.
Code Block |
---|
Double Click "My Documents" |
Example 2
The example syntax below will command Genta to use a wildcard match to find a button with the first instance of “Please read these instructions to” contained within a button and double click it.
Code Block |
---|
Double Click "*Please read these instructions to*" |
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Related Commands
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|