Accessing Non-Visible Java Objects

This functionality is supported only if you are using the Classic Agent.

Currently, Silk Test Classic cannot enumerate or manipulate Java objects that are not derived from the Abstract Windowing Toolkit (AWT) Component object.

With the InvokeJava method, you can access these non-visible objects by performing the following steps:

  1. A development group adds a Java class to an application that provides methods for accessing object references to non-visible objects of interest.
  2. Create the Java class to be invoked by the InvokeJava method.
  3. In the Java class that is invoked by InvokeJava, call the access methods that provide a reference to the non-visible objects of interest in your application.
  4. Manipulate the non-visible objects as desired.