ActionMode Buffer

ActionMode Buffer saves values or properties of controls, so you can reuse them later on.

Let's say you want your Bot to fill out a form. One of the fields on the form contains an order number, and you want to enter this order number into a different field. In this case, you can buffer the value in the first field and re-use it in the other.

RPA Studio saves Buffers to the settings under Project > Settings > Engines.

Buffers in the settings

RPA Studio saves Buffers locally. If you are working in a multi-user environment and you want to make values available to all users of this environment, use one of the following options:

RPA Studio saves Buffers locally. If you are working in a multi-user environment and you want to make values available to all users of this environment, set Buffers with the Module Set Buffer from the RPA subset.

Buffer the value of a control

To create a Buffer, follow the steps below:

  1. In the Details tab, specify a name for the Buffer in the Value field of the respective Step.

  2. Set the ActionMode to Buffer.

Save the content of Label to a Buffer named Buffer1

  1. Choose an appropriate DataType. For instance, to save a number, select Numeric from the drop-down menu.

Buffer the property of a control

Every control has properties. You can buffer these properties, for instance if you want to save the location of a button or check whether a field was enabled at run-time.

To do so, follow the steps below:

  1. Set the ActionMode of the control to Buffer.

  2. Open the drop-down menu of the Value field:

    • In the left entry field, enter the property you want to buffer. You can choose one from the drop-down list, or you can type in another one.

    • In the right entry field, enter a name for your Buffer. You can enter any string.

    Alternatively, you can type <Buffername>=.<Property> into the Value field.

Save the property InnerText of the button Next >> to Buffer 2

Use the buffered value

To re-use buffered values or properties in your Steps, use the syntax {B[Buffername]}.

For a more detailed description of how to use Buffers in Steps, see "Use buffered values".

ActionMode Buffer in tables

For information on how to use ActionMode Buffer when you work with tables, see "Save cell and table data".

Was this information helpful?

Tricentis RPA Studio Manual 2020.2 © Tricentis GmbH