Interact with controls

An Expression is a statement that your Bot acts on. Typically, you will scan your application to create a Module. Then you create a Step from this Module and use Expressions to fill out the Step Values (see "Create Steps from Modules").

Bots work with two types of Expressions:

  • Value Expressions generate a value that you can use in your Step (see "Generate values at run-time").

  • Interaction Expressions trigger an interaction between your Bot and your application. For instance, if you want your Bot to double-click a particular button, use an Interaction Expression.

Interaction Expressions steer your application's controls. A control is an element in your application that the Bot can interact with. For instance a button, a text box, or a link.

Types of Interaction Expressions

RPA Studio supports the following types of Interaction Expressions:

  • Keyboard commands: make the Bot navigate your application, typing on the keyboard

  • Click operations: perform different kind of clicks, drag & drop, or mouse overs

  • Mouse operations: perform clicks and mouse overs, but with a defined mouse behavior

Types of controls

You can steer the following controls with your Bots:

Control

What can you do?

Button

Checkbox

  • Select or clear a check box by entering True or False into the Value field

  • Verify the property Selected (i.e. whether the check-box was selected or not) and other properties

  • Buffer the property Selected and other properties

ComboBox

  • Select an entry from the drop-down menu in the Value field

  • Verify whether a specific entry was selected from the drop-down menu

  • Buffer the selected entry and other properties

Image

  • Perform click operations

  • Verify the property Picture (i.e. the storage location of the image) and other properties

Label

Link

Listbox

  • Select or clear a list item

  • Verify whether a specific entry was selected from the drop-down menu

  • Buffer the selected entry and other properties

Menu

  • Select a menu entry by entering the specified path, e.g. File->Save

Radiobutton

  • Select or deselect a radiobutton by entering True or False into the Value field

  • Verify the property Selected (i.e. whether a radiobutton was selected or not) and other properties

  • Buffer the property Selected

Slider

  • Enter a number into the Value field to set the slider to a specific position

  • Verify the position of a slider

  • Buffer the position of a slider or one of its properties

TabControl

Table

For information on how to steer tables, see "Work with tables".

TextBox

  • Enter text and/or numbers into the Value field

  • Verify the text in a text box or one of its properties

  • Buffer the text in a text box or one of its properties

Buffer and verify is not possible for TextBox controls you scanned with the image-based scan.

TreeView

  • Select a tree entry by entering the specified path, e.g. Level1->Level2->Level3

GenericGUI

GenericGUI is a control that RPA Studio can't identify as one of the other controls in this table.

Different types of controls in the Step Example Step

Was this information helpful?

Tricentis RPA Studio Manual 2020.2 © Tricentis GmbH