Test execution results


Screenshot and snapshot



This live demo shows basis of automation tests development using XML2Selenium framework. Here you'll create simple tests for web applications. Read this short info and then follow instructions. When instructions completed please click "Start explore" button below.

<testcase>, <test>

<testcase> is a container for your tests. Tou can assign name to your testcase for displaying in a reports.

Each <test> contains actions which do different things with web page.

Our example contains of one <testcase> which has one <test>


<navigate> tag opens specified url in browser. You can set url to open in parameter to.


<webelement> tag is a base command in XML2Selenium for interacting with webpage dom-elements. In our example we use following <webelement> actions:

  • click - clicks on webpage dom-element
  • isContainsText - checks if webpage dom element contains specified text

<field>, <button>

<field> tag allows enter text to textfield.

<button> tag allows to click on buttons.

<screenshot>, <snapshot>, <video>

Following tags used for saving test artifacts:

  • <screenshot> - saves webpage screenshot
  • <snapshot> - saves webpage snapshot (html source)
  • <video> - records test execution video!

Test results

When test finish you'll see reports, logs and artifacts. XML2Selenium produces following reports:

  • business-report - contains test results, links to artifacts and logs
  • behaviour-report - contains test results from BDD point of view
  • technical-report - contains system information: used plugins, JVM parameters, etc.

Available Tests