Redirect Output from Java Console to File

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

When you enable Java support, you can redirect Java console output to a local file, where you can more easily scroll and copy the text.

To redirect Java console output to a local file:
  1. Choose Options > Extensions from the Silk Test Classic menu bar. The Extensions dialog box opens.
  2. Select and highlight an enabled Java application or browser.
  3. Click Java. The Extension Options dialog box opens.
  4. Check the Redirect Java Console Output check box.
  5. In the Java Console File Name text box, enter the path to the file where you want to redirect Java console output.
  6. Click OK.
Note: Silk Test Classic hangs if you are using Java Plug-In for JVM 1.4.2 and call Browser.Close() with the Java Console open.