Start the JavaTest harness from a writeable directory where you intend to creatre files and store test results. You can use either a graphical user interface (GUI mode) or a command-line user interface (batch mode) to start the JavaTest harness. You must include the path of the directory [jt_dir] where the javatest.jar file is installed. The javatest.jar file is usually installed in the TCK lib directory when the JavaTest harness bundled with a TCK.
To start the JavaTest harness in GUI mode, you can use any of the following:
Start by: | Description |
---|---|
Running a Startup Script | Use a startup script if your test suite includes one. Refer to your test suite documentation for details about using a startup script. |
Executing the JAR File |
If you have access to a command line you can directly execute the .jar file from the directory where you intend to create files and store test results. At the command prompt start the harness:
|
Double-Clicking the Icon | If you are using a GUI, your system may support double clicking the javatest.jar file icon to launch the harness. |
Invoking the Class Directly |
If you have access to a command line and the jar file is on the class path, you can directly invoke the class from the directory where you intend to create files and store test results. At the command prompt start the harness:
|
If you choose to run tests in the batch mode refer to Using Batch Mode.
Unless you are starting the harness for the first time or use a command line option, the JavaTest harness restores your previous desktop when it starts the GUI. See Specifying Additional Options for information about the optional arguments that can be included in the command string when starting the JavaTest harness.
If the JavaTest harness cannot restore an existing desktop, it displays a Welcome dialog box that guides you through the startup. See Welcome Dialog Boxes for a detailed description of using the Welcome dialog box to start the JavaTest harness.