QTP/(U)FT Support Tip: How to Troubleshoot the BPT Wrapper Test in ALM 11?
How are you? I hope you are fine
With ALM and QTP 11 the BPT Wrapper Test was introduced. The BPTWrapperTest was included as part of the new improvements to the integration of the QTP 11 and ALM 11 products, for faster performance purposes for BPT Tests runs.
However, under some circumstances, there might be issues connected to this feature. This post should help troubleshooting the most common issues.
1. Test with the wrapper disabled
- Run the test from the Test Plan - Test Plan execution does not run with the wrapper enabled.
- Disable the wrapper for execution in the Test Lab by modifying the following registry keys:
32-bit Operating System: [HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\TestDirector\BPT]
64-bit Operating System: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mercury Interactive\TestDirector\BPT]
Note: To use these keys, simply copy them to a new text file and change the extension to .reg. Double-click the new .reg file and add to the registry.
2. Check the issue with the following patches/hotfixes installed:
Patch: QTP_00821 - Make Sure that Only Component-Related Settings are Used when Running BPT Tests
Hotfix: QTP_00836 - Ensure That QuickTest Can Run BPTs Containing Parameters with 'End of Line' Characters
Hotfix: QTP_00843 - Fix Function Library Load Order in BPT Wrapper Test
Hotfix: QTP_00853 - Support Running the ExitComponentIteration and ExitComponent Statements When Running Business Process Tests from HP ALM
Hotfix: QTP_00854 - Enable Correctly Restarting QuickTest While Running Business Process Tests From HP ALM 11
Hotfix: QTPBPT_00005 - Help Ensure that BPT Test Runs Successfully When Screen Recorder Is Enabled
Note: Hotfixes are not fully QA'ed and therefore not publically available. In order to request them, please open a support case for delivery at http://support.openview.hp.com, when this issue arises.
3. Asset Upgrade Tool V2
If you upgraded BPT components from QC 9.2 or below, please ensure, that the upgrad was made with V2 of the Asset Upgrade Tool, which can be found here:
Note: If you upgraded from one of these versions and did not use V2 of the Asset Upgrade Tool, you need to start over from scratch. This includes upgrading the old project in ALM prior to running the Asset Upgrade Tool.
4. Clean Cache
- Delete or rename the following folders:
5. If none of the information above help, please gather the following logs
Note: Please use "clientlogs.exe" to configure steps (b) through (f), available in <QTPinstalldir>/bin. Record timestamps of the issue and provide ONLY the logs from when the issue occured.
c) QTP Remote Agent
d) BPT Remote Agent
e) QC Server in Debug
f) QTP Log with the following settings:
g) TD_80 and BPTWrapperTest folders from the %temp% directory.
h) Run result report from the server - Located in the test directory (and/or have the client pull up the report locally and send us the TD_80 cache after doing so, this will contain the cached report).
Please open a support case with these logs at http://support.openview.hp.com
Functional Testing Support Engineer
[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]