2.8.3. Mapping with the embedded or external Agent for the API
Prev | 2.8. Using the Embedded Agent for tests with API | Next

### 2.8.3. Mapping with the embedded or external Agent for the API

There are multiple ways to get an object mapped. Either you can use the mapping vie ITE and export the mapping for API (see Figure 2.3, “Object Mapping Editor export function” ), or you can use the object Mapping from the Agent. To do this the embedded agent must be started and an AUT should be connected to it. Also there must be no connection to the Agent, otherwise the Object Mapping mode will be disabled. To start the Object Mapping follow the instructions.

- Open the context menu of the Agent from the task bar

- Select Object Mapping

- Select Start and the AUT the object Mapping should be started for

After the connection is successfully established the Object Mapping window will be opened. In this Window you get the Component Name, the type of the Component and the Encoded ComponentIdentifier. The default shortcut for Mapping an component is Control + Schift + Q. It can be changed in the menu File -> Settings .

| When using this kind of Mapping you can not have any other client (API or ITE) connected to the agent.

| Extensions are not working for an external AUTAgent. This can only be achieved with an embedded agent for API. Before you start the embedded Agent, register the Testerclasses. For mapping purpose it is recommended to have small java application which only starts the embedded agent, so it can be used as "external" agent.