Versions Compared

Key

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

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 manuallycreate DP objects manually or import UFT objects from a Test Shared Repository (*.tsr file). If necessary, you can update the DP objects in Qualitia Automation Studio.

On this page:

Table of Contents

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 Click Develop > Objects.

  3. Click In the left pane, click the DP object tree node.

  4. In the right pane, click the New button.
    The New screen dialog box 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.

Info

If you do not define a single 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

Perform the following steps to edit a DP object.

To edit a DP object:

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

  2. Go to Click Develop > Objects.

  3. Click In the left pane, click the DP object tree node.

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

  5. . For more information, refer to Adding a DP ObjectMake the necessary changes and click OK.

Deleting the DP Objects

Perform Please note the following steps to before you delete the DP objects from Qualitia.

info

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:

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

  2. Go to Click Develop > Objects.

  3. Click In the left pane, 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 that you want to delete.

  6. If Press Ctrl and click all the objects that you want to delete more objects, Press Ctrl and select other objects.

  7. Click Remove.

InfoThe deleted objects are highlighted in red color along with an exclamatory mark in the DP object tree node
  1. .

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 UFTDP 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
  • 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 If any object name and the its class name for an imported DP object conflicts with an existing object, then Qualitia appends it with '_' and followed by a sequential number (starting from 1) in the object name.

  • The description field for of the imported DP objects is automatically provided with the following details:

    Name

    includes the name of the bdb

    /

    or tsr file

    Hierarchy

    and the 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 for that object during the import process.

To import objects using from a tsr or a bdb file:

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

  2. Go to Click Develop > Objects.

  3. Click In the left pane, click the DP object tree node.

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

  5. 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. You can know the reason for failure in To troubleshoot the importing errors, see the Import_Log.txt log file , which is present located in the following location:

%localappdata%\Qualitia\WD\Logs