| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <title>2.6. Sample setup of the API usage</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="ch02s05.html" title="2.5. General setup information"> |
| <link rel="next" href="../toolkitExtension/toolkitExtension.html" title="Chapter 3. Creating toolkit extensions for custom UI widgets"> |
| </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.6. Sample setup of the API usage</th></tr> |
| <tr> |
| <td width="20%" align="left"> |
| <a accesskey="p" href="ch02s05.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="../toolkitExtension/toolkitExtension.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">Sample setup of the API usage</span> |
| </div> |
| <div class="section"> |
| <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
| <a name="id295851"></a>2.6. Sample setup of the API usage</h2></div></div></div> |
| <div class="figure"> |
| <a name="start-aut"></a><div class="figure-contents"><div class="mediaobject"><img xmlns:d="http://docbook.org/ns/docbook" src="../images/start-aut.png"></div></div> |
| <div class="figure-title">Figure 2.6. Starting the RCP-SimpleAdder AUT via API</div> |
| </div> |
| <br class="figure-break"><p>A fully executable example setup for the RCP toolkit showing a basic SimpleAdder AUT start - see <a class="xref" href="ch02s06.html#start-aut" title="Figure 2.6. Starting the RCP-SimpleAdder AUT via API">Figure 2.6, “Starting the RCP-SimpleAdder AUT via API”</a> - |
| and test run - see <a class="xref" href="ch02s06.html#test-execution" title="Figure 2.7. Exectuing a first test">Figure 2.7, “Exectuing a first test”</a> - can be found in the git-Repository contained within every ITE installation. It's located in |
| <span class="emphasis"><em>ITEInstallationFolder/development/git/org.eclipse.jubula.core.git</em></span>. Simply create a clone |
| of that repository and checkout the Eclipse project <span class="emphasis"><em>org.eclipse.jubula.qa.api.rcp</em></span>. |
| You still have to adjust the path to the local maven repository within the pom.xml of that project and point to the |
| one included in the installation: <span class="emphasis"><em>ITEInstallationFolder/development/api/m2-repo</em></span>.</p> |
| <div class="figure"> |
| <a name="test-execution"></a><div class="figure-contents"><div class="mediaobject"><img xmlns:d="http://docbook.org/ns/docbook" src="../images/test-execution.png"></div></div> |
| <div class="figure-title">Figure 2.7. Exectuing a first test</div> |
| </div> |
| <br class="figure-break"><p>However the usage of maven is not mandatory - you can also simply setup a plain Java project using the artifacts as plain JARs on the classpath.</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> |