Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can add those objects as DP objects when you know their properties and values. Also, if you you can import objects from a tsr file to update them as you want.

Adding a DP Object

Perform the following steps to add a DP object.

...

A message box confirms the successful import of objects.

If any error occurs during importing objectsobject importing fails, then Qualitia displays error messages. You can view the detailed information about the errors in the generated log file. The log file Import_Log.txt is generated as per the log path defined in Qualitia Config Settings.in

%localappdata%\Qualitia\WD\Logs

The following are the reasons for the errors which may occur during the import process.

...

Actual value during Execution

{Prop1Key}{Prop2Key}

Qualitia

Qua{Prop2Key}

Qualitia

{Prop1Key}litia

Qualitia

Qualitia

Qualitia

 

...

You must know the following information related to property value of an object.

  1. Regular expressions can be used in the Property value field. Qualitia supports the regular expression syntax defined by the underling tool. For example, suppose there is a Browser with the title Qualitia, then a user can give the title property in the form of regular expression as Qua.*

  2. 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 Browser with the title Qualitia.
    In this case, on the Object Management screen, you can use the Property value for the Browser's title as {PropKey}. This is mainly to help you identify an object which is having a runtime property value.

  3. 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}.

  4. The scope of a key remains only across the tasks within a test case.

  5. We 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

...

^

...