Lotus Notes and QTP

Question ID: 104607
0
0

How can I get Lotus Notes to exist with QTP?

Marked as spam
Posted by (Questions: 3, Answers: 1)
Asked on September 19, 2012 10:10 am
17 views
Answers (2)
2
Private answer

1. Close QTP and Lotus Notes
2. Check your machine's environment variables (System Variables) for the following:
-agentlib:jvmhook for JAVA_TOOLS_OPTIONS

3. Run regedit to launch the Windows registry editor.
4. Under ''HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveJavaAgentModules'', create a new DWORD value. The name will be notes2.exe (or whatever your current Notes executable is named). Double check to make sure it matches the filename (including the .exe) of your version.
5. Set the value for this new DWORD value to 0. This should prevent QTP's Java agent from being injected in the jvm for Notes.
6. Save your registry change and Launch Notes and verify it starts correctly.

Another fix that works for some people:

1. Navigate to the following registry key:

HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveJavaAgentLoadDependsOnPackage - 32bit OS
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMercury InteractiveJavaAgentLoadDependsOnPackage - 64bit OS
2. Modify the value from ''0'' to ''1''. The default value is 0 which indicates that the agent is always loaded into an application. If this value is then changed to 1, it will instruct the agent to only be injected when QTP and the Java addin are loaded.
3. For changes to take effect, please restart the machine

Marked as spam
Posted by (Questions: 2, Answers: 464)
Answered on September 19, 2012 10:12 am
1
Private answer

There also is an enhancement request open with HP:

''Allow QTP to run along Lotus Notes application without the registry modification''

ER#: QCIM1J28291

Marked as spam
Posted by (Questions: 2, Answers: 464)
Answered on September 19, 2012 12:30 pm