Skip to content
This repo contains a parser for the Selenium tests HTML file results of the Play Framework (1.2.4 tested)

Selenium Results Parser (Play 1.2.4)

This repository contains:

  • Library to parse the Selenium HTML resultfiles to metadata c# Objects;
  • A console app which uses this metadata to inform TeamCity of Selenium Tests + Results (passed/failed).

The Selenium HTML results are generated via the Play Framework (Java, 1.2.4) when running the command:

play.bat auto-test

The need was created because these HTML files are not readable as build metadata for TeamCity.


Tested and granted the official Works On My Machine Seal of Approval:

  • Visual Studio 2010 to compile
  • .Net4 to run


Usage of the (compiled) TeamCity DataImporter tool is easy; run it as build step in TeamCity with the working directory pointing to your Play Framework root directory and it will output TeamCity Service messages to the console which TeamCity will interpret.

C:\TeamCityAgent\WorkDir\1ecfe9489fb51e4869af\MyPlayProject C:\TeamCityTools\SeleniumImporter\PlaySeleniumDataImporter.exe


Included in this repository are the following c# projects:


Library which contains the logic for finding & parsing of Selenium Testresult files to IEnumerable objects


Tests to verify library works as intended


Console application which interacts with the library and outputs TeamCity Service Messages

License information

This tool & parser were created by Mark van Straten - and is hosted at This software is kindly granted to the community and licensed under GNU GPL-3.0 - see supplied LICENSE.TXT for details

Something went wrong with that request. Please try again.