# Using an Agent to Run Tests

To run tests using an agent on a test system, perform the following actions:

1. Choose the type of agent required to connect to the JT Harness harness.

> See Choosing the Type of Agent for a detailed description of active, passive, and serial modes.

2. If required, create a map file for the agent to use in translating strings to usable values.

> See Creating a Map File for a detailed description of map files.

3. Start the agent. See Starting a JT Harness harness agent for a detailed description how agents can be run either as applications or as applets.

   > If you choose to run the agent as an application, perform the procedure in Starting an Agent Application.

   > If you choose to run the agent as an applet, perform the procedure in Starting an Agent Applet.

4. Use the agent to run tests.

See Monitoring JT Harness harness agents for a detailed description how to monitor JT Harness harness agents when running tests.

Copyright © 2002, 2009, Oracle and/or its affiliates. All rights reserved.