The application under test will have large number of objects. Manual creation of objects consumes a lot of time and causes delay. You can use the Import feature of Qualitia to import DP objects. This saves valuable time and improves efficiency of test process.
To import objects:
- Click Develop > Objects.
- Click the Import button in the left pane.
- Browse to the saved file (bdb or tsr) folder to import objects.
A message box confirms successful import of objects.
If any error occurs during importing objects, then Qualitia will display 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 the Config.ini file. You can access the log file in the Import folder. The path of the log file is Logpath (as per settings on the Configuration Settings window. The name of the log file Import_Log.txt is prefixed with date and time stamp.
Listed below are the reasons for the errors which may occur during the import process.
- Selection of invalid object repository file. For example: Any other extension 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 QTP
- The logical name in underlying automation tool object repository is appended with its class name.
- All the object names in Qualitia are unique.
- In case there is a situation 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.
Common Note for QTP
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 |
- The Import feature supports import of new objects only in the object repository of Qualitia. It does not support import of objects that require update or deletion. You need to manually update or delete objects in Qualitia.
- The Import feature imports only those objects that are supported by Qualitia. The information about the non-supported objects is logged in Import_Log.txt file during import operation. The current list of supported objects can be viewed in the Object Class drop-down list on Object screen of Qualitia.
- You can use the Import feature only if the administrator has assigned you the Object Maintenance privileges in the Admin module.