QTP Support Tip: QTP 11 hotfix: QTPJV_00067 - Prevent QTP Hang While Spying on a Java Application
There is a new hotfix (private patch provided through support only) for QTP 11:
QTPJV_00067 - Prevent QuickTest Hang While Spying on a Java Application
This hotfix fixes a problem in which QTP stopped responding while attempting to Spy on a Java application. This occurred when another Java process had an invalid condition, for example, the application did not close
properly and the Java process was still running.
1. After installing this hotfix, you must enable it by setting a registry value as described in the "Hotfix Installation" section in the hotfix readme file.
2. After applying this hotfix, QuickTest will unregister the Java Add-in agent from the problematic Java process after a timeout of 120 seconds. The agents will stay unregistered for the remainder of the QuickTest session.
3. If multiple Java processes have an invalid condition as described above, QuickTest will wait 120 seconds before unregistering the agent for EACH problematic process, in succession. For example, if there are two problematic processes, it will take 240 seconds for QuickTest to unregister both of them.
4. If you close and open QuickTest, but the problematic Java process(es) are still active, QuickTest will automatically register the Java Add-in agents again, and the next time you try to Spy, you will need to wait for the relevant timeout to pass before QuickTest will be responsive again.
This hotfix can be requested through a support ticket with HP Software Support, as this is a private hotfix with no external link.
[If this post or any other post helps to resolve your issue or query, mark the thread as solved and give KUDOS to the author for their assistance. ]
(Posts and opinions made here are my own and do not reflect the opinions of my employer HP in any way)