Applet will not work Java/Oracle with QTP installed
Question ID: 104726
0
0

I have a Oracle application and when QTP is installed the applet will not run. The applet just has a box marking where it should be on the screen. This happens whith or with out QTP running, but if I uninstall QTP the applet will work correctly.

Marked as spam
Posted by (Questions: 17, Answers: 5)
Asked on November 30, 2012 6:32 am
117 views
Answers (1)
7
Private answer

I have seen this problem when both QTP and Java/Oracle application installed on the same machine. Sometimes this may be show by AUT not starting or crashing. I have seen this occur when QTP running and not running. This is because the Java/Oracle environments have an issue.
I have found the following will work with QTP Java/Oracle add in
1. Close QTP and any Java or Oracle related applications.

**Note** step 2 to 7 will work for web java Applets controls


2. Open Control Panel and navigate to the Java Control Panel.
3. New window will appear 'Java Control Panel'
4. Go to the Advance tab
5. Depending on version of Java installed


For Java 1.5
click on 'APPLET tab support'
For Java 1.6
click on 'Default Java plugin for browsers'

6. Uncheck the checkbox 'Internet Explorer' (this may be disabled Vista and later OS)
7. Close the Java Control Panel by clicking on 'Ok' Button.
8. Open RegEdit
9. Navigate to the following registry key:


**32 bit Operating System**
HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveJavaAgentLoadDependsOnPackage
**64bit Operating System**
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMercury InteractiveJavaAgentLoadDependsOnPackage

10. Change the value from ''0'' to ''1''.
**NOTE** The default value is 0, which indicates that the agent is always loaded into an application. Changing to 1, it will instruct the agents to only be injected when QTP and the Java addin are loaded.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on November 30, 2012 7:24 am
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top