Specifying values

Along with simple character strings and numerical data, you can also use dynamic expressions, click operations, special characters and control characters for specifying values in the Value column. These values are usually specified in curly brackets.

All dynamic expressions must be specified according to the following syntax:

Syntax:

{COMMAND[Parameter1][Parameter 2]…[Parameter n]}

Indicating parameters is optional.

Special characters

The following special characters must be put between quotation marks in order to be sent as a value to the test object: {, }, [, ], ". The special character " additionally requires a leading escape character ".

You can also use quotation marks to exclude entire strings from interpretation.

"{" instead of {

"""" instead of "

"{""ABC""}" instead of {"ABC"}

Wildcards

The special character * is used as a wildcard. If this special character should be used as a value, it must be specified using double quotation marks: "*".

The use of wildcards is supported in the following cases:

In Tosca you can specify more than one wildcards.

*ri*n*s instead of Tricentis

A cell which contains the value 1967 is searched in a table.

A row which contains this value should be used to verify whether an attribute that starts with Last contains the value Smith.

Example - wildcards in the Value column and cell name

The parameter Title that contains the value Vehicle Insurance* is used to search for a caption which starts with Vehicle Insurance.

Example - wildcard in parameterTitle


FEEDBACK

Was the information helpful?

© by Tricentis GmbH