Document toolboxDocument toolbox

A new version of Qualitia Automation Studio for Web and Mobile 7.2.x is now available. We highly recommend you upgrade. Find more details here.

Handling Qualitia Special Characters

What are Specials Characters and Escape Characters?

In Qualitia, few characters have some special meanings. For example, the caret sign (^) works as a separator when providing multiple sets of values in an array, opening and closing curly braces ({}) denote that the value being provided is from a variable in static or parameterized data.

When you want to use these special characters as part of your data, you must use an escape character. Using these escape character avoids special meanings behind these characters and treat them as normal string values.

Qualitia Special Characters and Escape Character

Qualitia Specials Characters are as follows.

CharactersCharacter Description
~Tilde
{Opening curly bracket
}Closing curly bracket
^Caret sign

Qualitia users should use these escape characters in the text fields while developing test cases and tasks. In case of situations where you want to use these special characters as data, you must use tilde (~) as an escape character, prior to an instance of these special characters.

The occurrence of these special characters can be there in following cases.

Use Case 1: Object Parameterization

Object parameterization helps you changing object properties runtime without updating object details. In case the parameterized value contains any of the special character, Qualitia users must use escape characters while providing such values.

For example, in the step StoreVariable, some data is stored into the variable and that variable value is used as locator value for the object. If the value originally contains Qualitia special character, you must use an escape character while storing it into the variable.

In the example below, locator value contains special character curly bracket ({) is which is then escaped using tilde (~).

Use Case 2: Static Data

In case you are providing Static Data for executing test cases, which contains Qualitia special characters, you must use an escape character.

In the example below, the URL contains special character tilde (~).

To escape this special character, you must use tilde two times (~~).

Use Case 3: Parameterized Data

In case you are using parameterized data, you need to provide the data with special characters using escape characters. In the example below, the URL contains special character tilde (~).

To escape this special character, you must use tilde two times (~~).

Use Case 4: Conditional Expressions

It may happen that the data being provided into the conditional expression contains Qualitia special characters. Such data needs to provide data using escape characters. In the example below, the URL contains special character tilde (~).

To escape this special character, you must use tilde two times (~~).

Not finding what you need?