Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

You can add an object as a DP object if you know its properties and associated property values. Also, you can import objects from a tsr file to update them manually.

On this page:

Adding a DP Object

Perform the following steps to add a DP object.

To add a DP object:

  1. Open the desktop project in which you want to add DP objects.

  2. Go to Develop > Objects.

  3. Click the DP object tree node.

  4. In the right pane, click the New button.
    The New screen appears.

  5. Do the following in the order listed:

    1. Select a parent object.

    2. Enter Object Name and Description.

    3. Select Technology and Object Class.

    4. Click Add button.

    5. Double-click the property field to add an object property and its associated property value.

  6. 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:

  1. Open the desktop project in which you want to edit DP objects.

  2. Go to Develop > Objects.

  3. Click the DP object tree node.

  4. In the right pane, click the Edit button.

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

  1. Open the desktop project in which you want to delete DP objects.

  2. Go to Develop > Objects.

  3. Click the DP object tree node.

  4. Select the parent object for which you want to remove its child objects.

  5. In the right pane, select a child object you want to delete.

  6. If you want to delete more objects, Press Ctrl and select other objects.

  7. 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 conflict 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:

    1. Name of the bdb or tsr file

    2. Hierarchy of the object in the bdb file

  • If an object in the bdb or tsr file does not contain any properties, then Qualitia sets micClass property as the object property.

To import objects using a tsr or a bdb file:

  1. Open the desktop project in which you want to import DP objects.

  2. Go to Develop > Objects.

  3. Click the DP object tree node.

  4. Click the Import button to locate the saved (bdb or tsr) file to import DP objects.

If the importing of DP objects fails, then Qualitia displays error messages. You can know the reason for failure in the Import_Log.txt log file, which is present in the following location:

%localappdata%\Qualitia\WD\Logs

 


  • No labels