Use buffered values

To use a value that you previously saved to a Buffer, use the syntax {B[Buffername]} .

You can use Buffers in Step Values and in Control Expressions.

In this example, the Control Expression of the IF Statement checks whether the value of Buffer1 is 1,000.50.

Buffer in a Control Expression of an IF Statement

Dynamic comparisons: XBuffer

Buffers save the entire value of your control.

XBuffers allow you to verify the content of a control and save parts of it. You can then re-use the buffered part in later Steps.

XBuffers require the syntax {XB[<Buffername>]} and the ActionMode Verify.

The Buffer name may include numbers, but must not consist only of numbers.

To re-use the value that you saved to an XBuffer, use the syntax {B[Buffername]} .

Let's say that your Bot creates new users in your application. At the end of the registration process, your system displays a confirmation message that contains the ID number of the new user.

For instance: Thank you. User with the ID 12345 has been created.

You want your Bot to perform the following actions:

  • verify whether your system displays this message

  • save the ID number to an XBuffer called IDnumber

To do so, enter the following Value in your Step:

Save the ID number to an XBuffer

Was this information helpful?

Tricentis RPA Studio Manual 2020.2 © Tricentis GmbH