I. Problems
The rft I use is v7.0.1.2, And everything works properly. However, when I updated JDK from 1.4.2 to 1.6, the test object checker encountered a problem. The specific manifestation is that when the object checker is suspended on the IE interface, no attribute of IE can be identified by clicking the mouse. The object Checker can correctly identify the demo program that comes with rft.
Ii. Analysis
Comparing the working environment before and after the problem occurs, I located the problem on JDK. Ie uses the default Java Plug-in. Its version is consistent with the JDK version installed on the machine. The rft object checker may be dependent on the Java Plug-in of IE when identifying IE. In rft, JDK is version 1.5, and my JDK is version 1.6. This may cause incompatibility (for personal Speculation only ). At this time, a pretty female colleague in the Department also upgraded JDK to 1.6. On her machine, there was also a problem that the test object detector could not recognize ie objects.
Iii. Solution
After locating the problem, I started to solve the problem. First, I changed the environment variable and replaced all jdk1.6 with 1.4.2. After the machine was restarted, the problem remained;
In IE (tool -- option -- program -- Management add-on), disable the jdk1.6 plug-in and restart ie. the problem persists;
In IE (tool -- option -- program -- Manage Add-on), click jdk1.4.2 and update ActiveX plug-in. update failed and give up;
In the control panel, uninstall jdk16 and 1.4.2, clear the Java configurations in the system variables, reinstall jdk1.4.2, and configure the Java environment variables. The problem persists;
I have installed the VSS plug-in my rft, So I disabled the VSS plug-in and restarted the rft. the problem persists. I restarted the machine again and the problem persists;
It's helpless. I shouted, "I love you", and the problem persists.
Reinstall rft and upgrade to 7.0.1.2 to solve the problem.
Iv. Highlights
This morning, a beautiful female colleague sent me a message saying that this problem can be solved without reinstalling. The solution is to click Java-installed JRE in rft's "window-Preferences, add jdk1.6. Then, click the Java tab in eclpse configuration-enable environment for testing. Then, add jdk1.6 and disable it by default. Then restart rft and it will be OK. It will not take five minutes before and after restart. It was funny to think that I was so confused at the beginning. I am still not familiar with rft functions.