Adding a DP Object
Perform the following steps to add a DP object.
To add a DP object:
Open the desktop project in which you want to add DP objects.
Go to Develop > Objects.
Click the DP object tree node.
In the right pane, click the New button.
The New screen appears.Do the following in the order listed:
Select a parent object.
Enter Object Name and Description.
Select Technology and Object Class.
Click Add button.
Double-click the property field to add an object property and its associated property value.
Click OK to save the details.
If you do not define a single object property along with its value, the object is highlighted in red color. Such objects are termed as empty objects.
Editing a DP Object
Perform the following steps to edit a DP object.
To edit a DP object:
Open the desktop project in which you want to edit DP objects.
Go to Develop > Objects.
Click the DP object tree node.
In the right pane, click the Edit button.
Edit the object attributes. For more information, refer to Adding a DP Object.
Deleting the DP Objects
Perform the following steps to delete the DP objects from Qualitia.
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 in which you want to delete DP objects.
Go to Develop > Objects.
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 you want to delete.
If you want to delete more objects, Press Ctrl and select other objects.
Click Remove.
The deleted objects are highlighted in red color along with an exclamatory mark in the DP object tree node.
Importing DP Objects from a tsr or bdb file
You can import multiple DP objects in a single instance by using tsr or bdb file for the objects created through UFT.
After importing DP objects, Quailtia does not update or remove the existing DP objects. It only adds the new DP objects.
In the scenarios, where the object name and the class name for an imported DP object conflicts with an existing object, then Qualitia appends with '_' and a sequential number (starting from 1) in the object name.
The description field for imported DP objects is automatically provided with the following details:
Name of the bdb/tsr file
Hierarchy of the object in the bdb file
If an object in bdb/tsr file does not contain any properties, then Qualitia sets micClass property as object property for that object during the import process.
To import objects using a tsr or a bdb file:
Open the desktop project in which you want to import DP objects.
Go to Develop > Objects.
Click the DP object tree node.
Click the Import button to locate the saved (bdb or tsr) file to import DP objects.
If object importing fails, then Qualitia displays error messages. You can know the reason of failure in the Import_Log.txt log file, which is present in the following location:
%localappdata%\Qualitia\WD\Logs