Dynamic text expressions

Text expressions are dynamic strings from various sources, generated at runtime. You can use them as Value in test step values for different action modes and in test case parameters. You can also combine input expressions with other input and action mode expressions.

Buffer

Values or control properties can be saved to a global variable buffer to be read at any point of the test execution. The value of a buffer can be read by using the following syntax:

Syntax:

{B[Buffername]}

Check out Buffer for a more detailed description on the action mode Buffer.

XBuffer

The XBuffer can be used for reading out and buffering dynamic parts of a string. The following syntax is used within the string:

Syntax:

{XB[<Buffername>]}

A buffer name may include numbers but must not consist only of numbers.

For more information on XBuffers, check out Create a variable with Verify.

Test configuration parameters

During execution, test cases mostly differ only by their specified values or other environment information. In addition to business-based processes, information that is derived from the execution environment and should be used in test steps, Test step values or modules plays a major role. The value of a test configuration parameter can be read using the following syntax:

Syntax:

{CP[Testconfigurationparameter]}

Please refer to Add test case parameters for a more detailed description on test configuration parameters.

An example for using test configuration parameters can be found in Date and time values.

Unicode text inputs

This expression sends Unicode characters to the control. Use the syntax below and insert the Unicode between double quotes.

Syntax:

{TEXTINPUT["My Unicode characters"]}