Versions Compared

Key

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

You can

...

create 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

...

To add a DP object

...

To add a DP object:

...

:

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

  2. Click Develop > Objects.

  3. In the

...

  1. left pane, click the DP object tree node.

  2. In the right pane, click the New button.
    The New

...

  1. dialog box appears.

  2. 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

...

    1. .

    2. Double-click the property field to add

...

    1. an object property and its

...

    1. property value.

  1. Click OK

...

  1. .

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

...

To edit a DP object:

...

:

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

  2. Click Develop > Objects.

  3. In the

...

  1. left pane, click the DP object tree node.

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

...

  1. Make the necessary changes and click OK.

Deleting the DP Objects

Perform this step to delete the DP objects from Qualitia.

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.

...

Upon removal, the object is no longer available for use. The object is also removed from the Object Repository.

  • 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 that contains the DP object that you want to delete.

  2. Click Develop > Objects.

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

  4. Select the parent

...

  1. object for which you want to remove its child objects.

...

  1. In the right pane

...

  1. , select a child object that you want to delete.

  2. Press Ctrl and click all the objects that you want to

...

  1. delete.

  2. Click Remove

...

  1. .

Importing DP Objects from a tsr or bdb file

You can import

...

Qualitia does not support Insight Objects imported from tsr or bdb files.

...

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
  • After importing DP objects, Quailtia does not update or remove

...

  • the existing DP objects. It only adds the new

...

To import objects using bdb or tsr file:

...

Go to Develop > Objects.

...

  • DP

...

  • objects.

A message box confirms the successful import of objects.

If object 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 in

%localappdata%\Qualitia\WD\Logs

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

  • Selection of invalid object repository file.
    For example: Any file extension other than bdb or tsr (QTP) file is selected.

  • Omission of Database Server, DB User Name and DB Password in the Configuration Settings window.

  • Invalid Log path

  • Failed connection to Database Server.

It is recommended to analyze the log file after every instance of the Import feature usage.

Characteristics of Imported Objects using UFT

...

The logical name in underlying automation tool object repository is appended with its class name.

...

All the object names in Qualitia are unique.

...

  • If any object name and its class for an imported DP object conflicts with an existing object, then Qualitia appends it with '_' followed by a sequential number (starting from 1)

...

  • in the object name.

  • The

...

  • description of the imported DP objects

...

  • includes the name of the bdb

...

  • or tsr file

...

  • 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.

To import objects from a tsr or a bdb file:

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

  2. Click Develop > Objects.

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

  4. Click 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. To troubleshoot the importing errors, see the Import_Log.txt file located in the following location:

%localappdata%\Qualitia\WD\Logs