2.2. General steps to take and class overview
Prev | Chapter 2. Writing UI tests via client API | Next

## 2.2. General steps to take and class overview

Figure 2.2. The most important classes and their methods

Taking this as a basis, a normal execution of test steps via the client API requires - in general - the following steps:

1. Connect to an already running instance of the AUT-Agent.

2. Instruct it to start an AUT or retrieve a list of all currently known AUT identifier.

3. Connect to the AUT by using the AUT identifier.

4. Execute an arbitrary amount of CAPs (Component Action Parameter also known as Test steps) on this established connection to an AUT. Note: there is no result processing implemented.

5. Disconnect from the AUT.

6. Stop the AUT.

7. Disconnect from the AUT-Agent.

Figure 2.2, “The most important classes and their methods” allows to get a general overview of the toolkit neutral parts of the client API.