Configuring Properties for Test Case Execution
In order to execute offline package with designated test cases, you need to set the qualitia-qtp.properties file accordingly. Properties are divided into three sections; QTP/ UFT Properties, Configuration Properties, and Qualitia System Properties. It is recommended not to change Qualitia System Properties.
Please refer to the table mentioned below and set the properties accordingly.
QTP / UFT Properties | |
---|---|
xmlPath | Enter the XML path where you have saved your test cases. Use the double backslash as separator. For example; xmlPath=C:\\Users\\qualitia\\Desktop\\qop\\XML |
LogPath | Enter the Log path where all the logs will be saved. Use the double backslash as separator. For example; LogPath=C:\\Users\\qualitia\\Desktop\\qop\\Log |
QTPVisibility | Set as True if you would like to view QTP/UFT console during execution. The default is false. |
CreateQTPResults | Set as True if you would like to write QTP results in provided QTP result path. The default is false. |
QTPResultPath | Enter the path where you would like to store QTP results. Use the double backslash as separator. For example; QTPResultPath=C:\\Users\\qualitia\\Desktop\\qop\\Results |
RepositoryPath | Enter the shared repository path. Use the double backslash as separator. For example; QTPResultPath=C:\\Users\\Common\\Documentation.tsr |
ExecutionHighlight | Set as True to highlight application element during execution. The default is false. |
Other Configuration Properties | |
SyncTimeInSeconds | Sync Time used by the underlying tool. The default is 20 seconds. |
CI_Tool | Enter the Continuous Integration tool name, if you are using any. Qualitia Supports Jenkins, TeamCity, and Bamboo. |
ShowReportAfterExec | Set as True if you want Qualitia to show report after execution is completed. The default is false. |
CreateInfoLog | Set as True if you would like to view the info login Qualitia reports. The default is True. |
CreateDebugLog | Set as True if you would like to view the debug log in Qualitia reports. The default is True. |
CreateErrorLog | Set as True if you would like to view the error log in Qualitia reports. The default is True. |
CapturePassBitMap | Set as True if you want to capture a screenshot for a passed step. The default is True. |
CaptureFailBitMap | Set as True if you want to capture a screenshot for a failed step. The default is True. |
CaptureDefectBitMap | Set as True if you want to capture a screenshot for a defective step. The default is True. |
ProjectName | Enter the project name. The default value is taken available when creating an offline package. |
Username | Enter the Qualitia username. The default value is taken available when creating an offline package. |
BuildNum | Enter the build number, if any. The default value is taken available when creating an offline package. |
ReleaseNum | Enter the release number, if any. The default value is taken available when creating an offline package. |
To set the qualitia-qtp.properties:
- Open the folder where you have saved Qualitia Offline Package.
- Go to QTP Framework 2.0 > Config.
- Open qualitia-qtp.properties.
- Set the properties as per the requirements such as; xmlPath, LogPath, and so forth.
Please refer to the table above for detailed information about properties and their values. - Once set all the properties, click Save and close the file.
- Close the qualitia-qtp.properties file.