Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Absent Member.. MisterT1968 Absent Member..
Absent Member..
156 views

QTP/(U)FT Support Tip: How to Troubleshoot the BPT Wrapper Test in ALM 11?

Hello all,

 

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]


            "UseBPTWrapperTest"="N"

 

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:


    http://support.openview.hp.com/selfsolve/document/KM910435   

 

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:


%temp%\TD_80
%temp%\BPTWrapperTest

 

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.


a) MicDetect
b) WebGateClient
c) QTP Remote Agent
d) BPT Remote Agent
e) QC Server in Debug
f) QTP Log with the following settings:


      LogCatError
      LogCatASSERT
      LogCatQCIntegration(Debug2)


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

 

Best regards,

Tino Pacholski

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.]
Labels (2)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.