This functionality is supported only if you are using the Classic Agent.
Once you configure
Silk Test Classic for testing standalone Java applications, you can invoke JDK applications as you normally would from the command line.
To invoke JDK applications using -classpath
Enter the following command:
java -classpath <Java support path>;<other directories, if any> <name of application>
Example
In this example, let us assume the following:
- You have installed
Silk Test Classic in the default directory
c:\Program Files\Silk\SilkTest.
- You are using JDK 1.3 as your Java Virtual Machine (JVM).
- Your CLASSPATH contains only the Java support path.
Given these assumptions, you would launch the application MyJDKapp by entering:
java -classpath c:\Program Files\Silk\SilkTest\JavaEx\SilkTest_Java3.jar MyJDKapp
To invoke JDK applications without using command line arguments
Enter the following command:
java <name of application>
Example
To invoke the application MyJDKapp, enter:
java MyJDKapp