Click here to Skip to main content
13,298,655 members (48,508 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 4 Oct 2010

CruiseControl.Net driving Selenium Tests

, 4 Oct 2010
Rate this:
Please Sign up or sign in to vote.
How to quickly get CruiseControl.Net running and driving your selenium test – in 6 steps

This is how you can quickly get CruiseControl.Net running and driving your selenium test – in 6 steps:

  1. Download & Install CruiseControl.Net
  2. Start “CruiseControl.NET Server“ Windows Service
  3. Download SeleniumTest sample project and extract it on a folder C:\Projects\
  4. Edit CruiseControl.NET configuration file (C:\Program Files (x86)\CruiseControl.NET\server\ccnet.config) and replace it with the information in C:\Projects\SeleniumTest\CruiseControl.Net\ccnet.config. Modify it with proper locations of MSBuild.exe, MsBuild.dll and MSTest.exe.
  5. Start selenium server by running C:\Projects\SeleniumTest\SeleniumServerPort4441.bat
  6. Open http://localhost/ccnet and you will see the project SeleniumSearchTest1 click on Force. It should build the project and start the tests.

This is how the ccnet.config file looks:

<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
      <scheduleTrigger time="23:30" buildCondition="ForceBuild">
        <buildArgs>/noconsolelogger /p:Configuration=Debug /v:diag</buildArgs>
        <logger>C:\Program Files 
        <executable>C:\Program Files 
        (x86)\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe</executable>        
        <buildArgs> /testcontainer:SeleniumSearch\bin\Debug\SeleniumSearch.dll 

This example applies for VS 2008 Professional, ccnet 1.5.7256.1 and Selenium RC 1.0.3.



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Denmark Denmark
No Biography provided

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171207.1 | Last Updated 4 Oct 2010
Article Copyright 2010 by mariangemarcano
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid