Configuring Standalone Java Applications and Java Applets

In order for Silk Test Classic to recognize Java controls, you may need to change the CLASSPATH environment variable. For JVM/JRE 1.3 or later, you must also copy the applicable SilkTest.jar file to the lib\ext folder of your JVM/JRE. The SilkTest.jar file is located in the <SilkTest Install Directory>\JavaEx directory.

  1. If you are using JVM/JRE 1.3 or later, use SilkTest_Java3.jar. For information about new features, supported platforms, and tested versions, refer to the Release Notes.
  2. For Java 1.3 or later, you should not set a specific classpath variable – instead, use the default CLASSPATH=.;. Copy the SilkTest_Java3.jar file to the lib\ext folder of your JVM/JRE, and remove any previous Silk Test Classic JAR files.
  3. In the Silk Test Classic folder, rename the file access3.prop to accessibility.properties and copy it to the Java…\lib folder.
  4. Finally, qapjconn.dll and qapjarex.dll are new DLL files that must be installed in the Windows\System32 directory. The Silk Test Classic installer places these files in the Windows\System32 folder, and also places copies of these files in the SilkTest\Extend folder. If the default directory for your library files is in a location other than Windows\System32, you must also copy qapjconn.dll and qapjarex.dll to the alternate location.
Note:
  • The Java recorder does not support applets for embedded Internet Explorer browsers(AOL).
  • It is not possible, using normal configuration methods, to gain recognition of Java applications that use .ini files to set the environment. However, if your application sets the Java library path using the JVM launcher directive Djava.library.path=< path >, you can obtain full recognition by copying qapjarex.dll and qapjconn.dll from the System32 directory into the location pointed to by the JVM launcher directive.