| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <title>2.2. General steps to take and class overview</title> |
| <link rel="stylesheet" type="text/css" href="../../css/style.css"> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> |
| <link rel="home" href="../index.html" title="Jubula Developer Manual"> |
| <link rel="up" href="clientAPI.html" title="Chapter 2. Writing UI tests via API"> |
| <link rel="prev" href="ch02s01.html" title="2.1. The general idea"> |
| <link rel="next" href="ch02s03.html" title="2.3. Exporting the Object Map in the ITE"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <div class="navheader"> |
| <table width="100%" summary="Navigation header"> |
| <tr><th colspan="3" align="center">2.2. General steps to take and class overview</th></tr> |
| <tr> |
| <td width="20%" align="left"> |
| <a accesskey="p" href="ch02s01.html">Prev</a> </td> |
| <th width="60%" align="center">Chapter 2. Writing UI tests via API</th> |
| <td width="20%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a> |
| </td> |
| </tr> |
| </table> |
| <hr> |
| </div> |
| <div xmlns:d="http://docbook.org/ns/docbook" class="breadcrumbs"> |
| <span class="breadcrumb-link"><a href="../index.html">Jubula Developer Manual</a></span> > <span class="breadcrumb-link"><a href="clientAPI.html">Writing UI tests via API</a></span> > <span class="breadcrumb-node">General steps to take and class overview</span> |
| </div> |
| <div class="section"> |
| <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
| <a name="id293975"></a>2.2. General steps to take and class overview</h2></div></div></div> |
| <div class="figure"> |
| <a name="api-classes"></a><div class="figure-contents"><div class="mediaobject"><img xmlns:d="http://docbook.org/ns/docbook" src="../images/api-classes.png"></div></div> |
| <div class="figure-title">Figure 2.2. The most important classes and their methods</div> |
| </div> |
| <br class="figure-break"><p> Taking this as a basis, a normal execution of test steps via the |
| client API requires - in general - the following steps: |
| </p> |
| <div class="orderedlist"><ol class="orderedlist" type="1"> |
| <li class="listitem"><p>Connect to an already running instance of the AUT-Agent. |
| </p></li> |
| <li class="listitem"><p>Instruct it to start an AUT or retrieve a list of all |
| currently known AUT identifier. |
| </p></li> |
| <li class="listitem"><p>Connect to the AUT by using the AUT identifier. |
| </p></li> |
| <li class="listitem"><p> |
| Execute an arbitrary amount of CAPs (<span class="strong"><strong>C</strong></span>omponent |
| <span class="strong"><strong>A</strong></span>ction |
| <span class="strong"><strong>P</strong></span>arameter also known as Test steps) on this established |
| connection to an AUT. Note: there is no result |
| processing implemented. |
| </p></li> |
| <li class="listitem"><p>Disconnect from the AUT. |
| </p></li> |
| <li class="listitem"><p>Stop the AUT. |
| </p></li> |
| <li class="listitem"><p>Disconnect from the AUT-Agent. |
| </p></li> |
| </ol></div> |
| <p> |
| <a class="xref" href="ch02s02.html#api-classes" title="Figure 2.2. The most important classes and their methods">Figure 2.2, “The most important classes and their methods”</a> |
| allows to get a general overview of the toolkit neutral parts of the |
| client API. |
| </p> |
| </div> |
| <br xmlns:d="http://docbook.org/ns/docbook"><hr xmlns:d="http://docbook.org/ns/docbook"> |
| <address xmlns:d="http://docbook.org/ns/docbook">Copyright BREDEX GmbH 2015. Made available under the Eclipse Public License v1.0.</address> |
| <br xmlns:d="http://docbook.org/ns/docbook"> |
| </body> |
| </html> |