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 13 Next »

You can add those objects as DP objects when you know their properties and values. Also, you can import objects from a tsr file to update them as you want.

Adding a DP Object

Perform the following steps to add a DP object.

To add a DP object:

  1. Go to Develop > Objects.

  2. In the object tree, click DP.

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

  4. 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 a object property and its associated property value.

  5. Click OK to save the details.

If you do not define any property along with its value, the object is displayed in node 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. Go to Develop > Objects.

  2. In the object tree, click DP.

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

  4. Edit the object attributes. For more information, refer to Adding a DP Object.

Remove DP Objects

Perform this step to remove DP objects from Qualitia.

  • You cannot remove an object that is used in a task or a test case

  • If you remove 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 remove two child objects that are present under different parent objects.

To remove DP objects:

  1. Go to Develop > Objects.

  2. Select the parent of the object which you want to remove.
    The details of the selected object are displayed on the right pane of the Objects screen.

  3. Select the objects you want to remove

  4. Click Remove.

  5. Click Yes.

Importing DP Objects from a tsr or bdb file

You can import multiple DP or OR objects in a single instance by using tsr or bdb file that is generated in UFT.

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

If you import a DP with tsr objects, it does not update or remove exsiting objects. It only adds the new objects.

To import objects using bdb or tsr file:

  1. Go to Develop > Objects.

  2. Select DP object tree.

  3. Click the Import button to locate the saved file (bdb or tsr) folder to import 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.

  • In scenarios where the object name and the class name of an imported object are conflicting with the existing object in the object repository, then Qualitia appends '_' and the sequential number (starting from 1) with the object name.

  • The Description field of the imported objects is auto-populated with the following on the Object Management screen:

i. Name of the bdb/tsr file
ii. 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.

For More Details, refer to Important Information on Object Property Values.

 


  • No labels