Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How do you improve recognition of your java application if SilkTest does not see all components?

How do you improve recognition of your java application if SilkTest does not see all components?

SilkTest by default sets "Show All Classes" to false. (see * below for how to set this option) Once this option is enabled, the level of recognition will be improved and you should have additional layers such as JSplitPanes that were originally ignored. Then you should be able to see the controls you need to test.

Exceptions to this rule would be if the control is a third party control, which has a wrapper around the control, and then SilkTest cannot gain injection unless the correct jar file (see ** below) is used.

* To enable "Show all class" select menu option "Record" followed by "Classes" and when this dialog box appears, ensure that the checkbox "Show all classes" is enabled.

** Depending on the JVM of the application\applet being tested, you would use SilkTest_Java1.Jar if the JVM is less than 1.2. If the JVM of the AUT is equal to 1.2 or greater then the correct jar file to use is SilkTest_Java2.Jar.

Old KB# 22065

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:27
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.