How to exclude java application from hooking to QuickTest Professional / Sprinter Java support

When QuickTest Professional (QTP) or HP Sprinter and java application (for example Lotus Notes Client 8.5.1) are installed on the same machine, even if QTP or Sprinter is not used to test Lotus Notes we see that Lotus Notes application will crash unexpectedly on startup.

Prevent the Java agent from injecting in the Java Virtual Machine (jvm):

Find the process name of the application that is crashing (shown in the Task Manger). For example "notepad.exe"

Go to Registry (Start>Run>regedit)

Navigate to registry key: "HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\JavaAgent\Modules"

Note: On 64 bits operating system, locate path under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mercury Interactive\JavaAgent\Modules

Create a DWORD value with the same name as the process name of application.

Set the value as "0"

Note: The above steps only apply to application that run with .exe (if it’s a jar or bat file, the suggestion will not work).

Advertisements

One thought on “How to exclude java application from hooking to QuickTest Professional / Sprinter Java support

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s