Versions Compared

Key

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

...

Tip

In this command you need to enter the text that appears on the button

...

Example 2 (click a button with only a partial match of the text)

Code Block
Click "**New User" button

...

Info

If there is no text on the button example it is a button with an image only. You can use the control ‘tooltip’ that appears when you hover the mouse over the button(if it has a tooltip).

...

Using /wiki/spaces/CS/pages/2045181957 to click a button when multiple buttons are available

Example 4 (Click a button with the specified nearest value)

...

Input/Switch

Values

Details

Name

Click "Cancel" button

Click "**I accept" button

The text inside the button exactly as shown or the first instance partially matching by using the wildcard prefix of **.

Placement

Click "Add" button -second

If there are multiple buttons with the same text you can specify which to click. You can use first, second, third, fourth or fifth.

Neareast Label

Click "Save" button -nearestlabelnearest("New Item")

If you have multiple buttons 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.

...

Include Page
Snippet - Aria Info Command Footer
Snippet - Aria Info Command Footer
Include Page
Snippet - Footer - Tech
Snippet - Footer - Tech

...