...
Go to Develop > Objects.
In the object tree, click DP.
In the right pane, click the Edit button.
The New screen appears.You can change the following values:
Select a parent object.
Enter Object Name and Description.
Select Technology and Object Class.
To change an object property, double-click the property field to edit an object property and its associated value.
To add an object property, click the Add button, and then double-click the property field to add an object property and its associated value.
To remove an object property, select a property, and then click the Remove button.
Click OK to save the details.
Info |
---|
If you remove all the object properties or no object property has value, the object becomes empty object. |
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.
Info |
---|
|
To remove DP objects:
Go to Develop > Objects.
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.Select the object which you want to remove
Click Remove.
Qualitia asks for confirmation about the deletion of tClick 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.
Info |
---|
Qualitia does not support Insight Objects imported from tsr or bdb files. |
You are recommended to follow the guidelines:
|
To import objects using bdb or tsr file:
...
If any error occurs during importing objects, 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 as per the log path defined in Qualitia Config Settings.
Listed below The following are the reasons for the errors which may occur during the import process.
...
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.
...
If you click any object in the tree on the left pane of the Develop screen, the right pane displays all the child objects with object details like object name, object class, and description. Below the properties pane, property and value of that object are displayed.
Actual value during Execution | |
---|---|
{Prop1Key}{Prop2Key} | Qualitia |
Qua{Prop2Key} | Qualitia |
{Prop1Key}litia | Qualitia |
Qualitia | Qualitia |
Important Information on
...
Property Values
You must know the following information related to property value of an object.
Regular expressions can be used in the Property value field. Qualitia supports the regular expression syntax defined by the underling tool. For example, suppose there is a Browser with the title Qualitia, then a user can give the title property in the form of regular expression as Qua.*
A key name can be used in the Property value field where the key name should be enclosed in braces. During execution, the value from the key will be retrieved and substituted for the corresponding Property. For example, suppose you have set up to store the value Qualitia in the key PropKey and then want to work on a Browser with the title Qualitia. In this case, on the Object Management screen, you can use the Property value for the Browser's title as {PropKey}. This is mainly to help you identify an object which is having a runtime property value.
Note that to To use the value from the key, you have to pass the key name in squiggly curly brackets. For example, the key name is QKey, then, to use the value from the key, you should enclose the key name in squiggly brackets like {QKey}.
The scope of a key will remain remains only across the tasks within a test case.
We can even concatenate a key with a static string or a static string with a key. A key with a key combination can also be passed in the Property value field. For example, suppose you have set up to store two keys, Prop1Key and Prop2Key with values "Qua" and "litia" in them respectively. In this case, the following combinations in the property value field will yield output as shown below:
Property Value field | Actual value during Execution |
---|---|
{Prop1Key}{Prop2Key} | Qualitia |
Qua{Prop2Key} | Qualitia |
{Prop1Key}litia | Qualitia |
Qualitia | Qualitia |
Following characters, if found in property value of an object, are preceded by '/' (forward slash) because these characters are used as identifiers in Qualitia.
Character | Description |
---|---|
{ | Key name identifiers |
} | Key name identifiers |
/ | Escape character in Qualitia |
^ | Array data separator. For example, John^Smith^Lucy^Maggi array data can be passed using ^ as a separator. |
...