3.2.3. Connecting to the AUT Agent
Prev | 3.2. Starting and connecting to the AUT Agent | Next

### 3.2.3. Connecting to the AUT Agent

You can connect to an AUT Agent you have started (Section 3.2.2, “Starting the AUT Agent”) on a local or remote machine, or you can connect an embedded AUT Agent on your local machine.

| When using a separate AUT Agent, you must wait for the AUT Agent to be running before you can connect to it.

1. On the toolbar, click on the arrow next to the ”Connect to AUT Agent” button .

2. In the drop down list, you can choose an AUT Agent to connect to:

   - Select the embedded AUT Agent option to connect to an AUT Agent that is automatically started for you on your machine.

     | The embedded AUT Agent uses port 60001 by default in the ITE. You can change the port that should be used for the embedded AUT Agent in the preferences (Section 3.29.4, “Embedded AUT Agent preferences”).

   - Select an AUT Agent host and port number to connect to from the list. The list of hosts and ports available in this list can be configured in the preferences (Section 3.29.3, “AUT Agent preferences”). If you have set the environment variable TEST_AUT_AGENT_PORT, then you will also see the port number you set for that variable in the drop-down list.

     | If you are not working with the embedded AUT Agent, you must have started an AUT Agent on a machine in the network (Section 3.2.2, “Starting the AUT Agent”) to be able to connect to it.

| To work with the embedded AUT Agent, you do not need to start an AUT Agent on your machine. However, you can only work with the embedded AUT Agent for local testing (i.e. on the same machine as the ITE). The embedded agent is started in lenient mode (Section 3.17.2.2, “Testing AUTs that are launched by other AUTs”).