Seleniumhq Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID seleniumhq Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.4
Jul 16, 2010
1.366
Source Code
Issue Tracking
Maintainer(s)
Subversion
Open Issues
Pascal Martin (id: pascal_martin)
Usage Installations 2013-Apr 1778
2013-May 1815
2013-Jun 1802
2013-Jul 1870
2013-Aug 1768
2013-Sep 1773
2013-Oct 1823
2013-Nov 1778
2013-Dec 1712
2014-Jan 1822
2014-Feb 1880
2014-Mar 1894

This plugin allows you to run and load HTML Selenese suite result generate by Selenium Server from Seleniumhq.
Jenkins will generate the trend report of test result.

The Seleniumhq plug in can be downloaded here.

Configuring the Seleniumhq Plugin

Global config

  1. Configure Seleniumhq test runner (selenium-server.jar path) (via Manage Jenkins -> Configure System)

Job config

  1. Install the selenium plugin (via Manage Jenkins -> Manage Plugins)
  2. Configure your project's build script to generate Seleniumhq HTML reports (See below for examples with Ant Command, batch Command and Jenkins build step)
  3. Enable the "Publish Selenium Report" publisher
  4. Specify the test file to load

Configuring build tools

Here are the configuration details for common build tools. Please feel free to update this with corrections or additions. 

Build Step in Jenkins

You can lauch the HTML Selenese suite with selenium-server with the buid step provide by this plugin.
This step make exactly the same as Batch command (See below) but the plugin offer ther possibily to enter an PATH or an URL for the suiteFile param.

  1. Add a build step (SeleniumHQ htmlSuite Run) in your job configure page
  2. Field the mandatory field

Batch command

  1. Add a build step (Execute Windows batch command) in your job configure page
  2. Add command to lauch HTML Selenese suite with selenium-server
    java -jar selenium-server.jar -htmlSuite "*firefox" http://www.google.com
    "c:\absolute\path\to\my\HTMLSuite.html" "%WORKSPACE%\results.htm"
    


Ant

We've also provided an Ant task to make it easier to launch the tests. Run it like this: Seleniumhq doc

<taskdef resource="selenium-ant.properties">
    <classpath>
        <pathelement location="selenium-server.jar"/>
    </classpath>
</taskdef>
<selenese
    suite="c:\absolute\path\to\my\HTMLSuite.html"
    browser="*firefox"
    results="c:\absolute\path\to\my\results.html"
    multiWindow="true"
    timeoutInSeconds="900"
    startURL="http://www.google.com" />

Result

Build summary

Build Report

Project summary

Project Report (Last build selenium report) P.S : If you need save all build report use "Archive the artifacts" in project config

Version History

Version 0.5 (upcoming)

Version 0.4 (2010-07-16)

Version 0.3 (2010-07-10)

  • fix http 500 error thrown whilst saving a job on Jenkins 1.362+ JENKINS-6775
  • Add possibility to use status of test commands instead of suites to determine UNSTABLE/FAILURE/SUCCESS JENKINS-6837
    A checkbox has been added in advance propretie of publisher

Version 0.2 (2009-05-28)

  • Add support for build on slave (Thank to Alexis)
  • Add relative paths support for suite file (relative to the workspace) (Thank to Alexis)
  • New icone (Thank to Erwan)

Version 0.1 (2009-01-23)

  • Initial release. 

Labels

Edit
plugin-builder plugin-builder Delete
plugin-report plugin-report Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment