Use controls repeatedly

When you scan your application, RPA Studio saves the controls you select during the scan as a new Module.

You create Steps from this Module and then tell the Bot what to do (see "Create Steps from Modules").

Screen in your application -> Module -> Step

By default, you can steer the same control only once within the Step you created from a particular Module.

Sometimes you might need to steer the same control multiple times. For instance if you want to use keyboard combinations to run multiple operations on the same text box.

In this case, you need to modify the Module.

If you modify a Module, RPA Studio automatically updates all Steps that you created from this Module. It also applies the same specifications to all Steps that you create from the Module in the future.

Tricentis recommends that you copy the Module and update the duplicate.

To allow the repeated use of the same control, follow the steps below:

  1. Navigate to the Module and select the control.

  2. Open the Properties pane by clicking on the white arrow on the right side of the screen.

Expand Properties pane

  1. For the property Cardinality, enter the value 1-n.

Alternatively, you can select the Module and add the column Cardinality in the Details tab. Then select 1-n from the drop-down menu.

  1. Create a Step from your Module.

  2. In your Bot, fill out the Step Value.

Once you have filled out the Step Value, the Bot automatically adds another Step Value from the same control.

Reuse text box First Name repeatedly

Was this information helpful?

Tricentis RPA Studio Manual 2020.2 © Tricentis GmbH