You must know the following information related to property value of an object.
You can use regular expressions in the Property value field. For example, suppose there is a button with the title Qualitia, then a user can give the title property in the form of regular expression as Qua.*
A key name can be used in the Property value field where the key name should be enclosed in braces. During execution, the value from the key will be retrieved and substituted for the corresponding Property. For example, suppose you have set up to store the value Qualitia in the key PropKey and then want to work on a Object having name as Qualitia.
In this case, on the Object Management screen, you can use the Property value for the object name as {PropKey}. This is mainly to help you identify an object which is having a runtime property value.To use the value from the key, you have to pass the key name in curly brackets.
For example, the key name is QKey, then, to use the value from the key, you should enclose the key name in squiggly brackets like {QKey}.The scope of a key remains only across the tasks within a test case.
You can even concatenate a key with a static string or a static string with a key. A key with a key combination can also be passed in the Property value field.
For example, suppose you have set up to store two keys, Prop1Key and Prop2Key with values "Qua" and "litia" in them respectively. In this case, the following combinations in the property value field will yield output as shown below:
Property Value field | Actual value during Execution |
---|---|
{Prop1Key}{Prop2Key} | Qualitia |
Qua{Prop2Key} | Qualitia |
{Prop1Key}litia | Qualitia |
Qualitia | Qualitia |
The following characters, if found in property value of an object, are preceded by '/' (forward slash) because these characters are used as identifiers in Qualitia.
Character | Description |
---|---|
{ | Key name identifiers |
} | Key name identifiers |
/ | Escape character in Qualitia |
^ | Array data separator. For example, John^Smith^Lucy^Maggi array data can be passed using ^ as a separator. |