...
...
Add a DP Object
...
Adding a DP Object
...
To add a DP object
...
Import DP Objects through a tsr file
If you click any object in the tree on the left pane of the Develop screen, the right pane displays all the child objects with object details like object name, object class, and description. Below the properties pane, property and value of that object are displayed.
Important Information on property values:
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.*
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.
Note that to use the value from the key, you have to pass the key name in squiggly 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 will remain only across the tasks within a test case.
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 |
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
...
^
...
:
Open the desktop project in which you want to add DP objects.
Click Develop > Objects.
In the left pane, click the DP object tree node.
In the right pane, click the New button.
The New dialog box appears.Do the following in the order listed:
Select a parent object.
Enter Object Name and Description.
Select Technology and Object Class.
Click Add.
Double-click the property field to add an object property and its property value.
Click OK.
Info |
---|
If you do not define any object property along with its value, the object is highlighted in red color. Such objects are termed as empty objects. |
Editing a DP Object
To edit a DP object:
Open the desktop project that contains the DP object you want to edit.
Click Develop > Objects.
In the left pane, click the DP object tree node.
In the right pane, click the Edit button.
Make the necessary changes and click OK.
Deleting the DP Objects
Please note the following before you delete any DP object:
You cannot delete an object that is used in a task or a test case
If you delete a parent object, then all its child objects are also removed.
You cannot delete a parent object if one of its child objects is used in a task or a test case.
You cannot delete two child objects that are present under different parent objects simultaneously.
To delete the DP objects:
Open the desktop project that contains the DP object that you want to delete.
Click Develop > Objects.
In the left pane, click the DP object tree node.
Select the parent object for which you want to remove its child objects.
In the right pane, select a child object that you want to delete.
Press Ctrl and click all the objects that you want to delete.
Click Remove.
Importing DP Objects from a tsr or bdb file
You can import DP objects that are created using UFT into Qualitia Automation Studio. Simply export the DP objects on UFT as a tsr or a bdb file and import the file in Qualitia Automation Studio.
Info |
---|
|
To import objects from a tsr or a bdb file:
Open the desktop project in which you want to import the DP objects.
Click Develop > Objects.
In the left pane, click the DP object tree node.
Click Import.
Locate the tsr or bdb file that you want to import and click OK.
If the importing of DP objects fails, then Qualitia displays error messages. To troubleshoot the importing errors, see the Import_Log.txt file located in the following location:
%localappdata%\Qualitia\WD\Logs