Skip to: site menu | section menu | main content

Automatic Testing Platform


This section summarizes three examples of input to ATP (included in the distribution of ATP 2.0), namely:

HTML Script (R&P)

The following example is an recored HTML script made with Selenium IDE against Wikipedia. The script is simply an search of the term software testing, and then a click action on Test automation. This script can be seen as a the following table:

Wikipedia HTML Script

... and the (HTML) source code of the script is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en">
<head profile="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<table cellpadding="1" cellspacing="1" border="1">
<tr><td rowspan="1" colspan="3">wikipedia</td></tr>
<td>software testing</td>
<td>link=Test automation</td>

With this input, ATP creates the following report as output.

UML Models

The following models represent the use case of performing a serach in Amazon. This simple use case has an linked activity diagram, composed by two screens and a transition between them. The first screen (Home)is modelled using an Enterprise Architect presentation diagram. The second screen (Results) is not modelled.

Amazon UML Diagrams With this input, ATP creates the following report as output.

XML Model

The following example correspond a navigation model created in XML in which a web serarch in performed in Google. An assertation is made in the results to verify that the searched string (Software Testing) is present in the results.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<website xmlns="" xmlns:xsi=""

<home id="google">
<data locator="q">
<value>Software Testing</value>

<transition from="google">
<action target="btnK" event="click" />
<to state="results" />

<state id="results">
<assert type="textPresent">
<value>Software Testing</value>


With this input, ATP creates the following report as output.