Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This article shows you how to click on any text or link on the screen double click a button in Aria Digital Workplace Automation.

Purpose

Clicks text or a hyperlink in the current Application or website that has a text value.

Usage

Click a link with the text “Help”:

Syntax

Code Block
languagenone
Double Click "Save"put button 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 here"
Include Page
Snippet - Aria Command Notes
Snippet - Aria Command Notes

Example 1

The example syntax below will command Aria to find the button labeled [need to find a good use for this] and double click it.

Code Block
Double Click "XXXXX"

Example 2

The example syntax below will wildcard match

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.

...