Hudson Builder (or another build engine)

2 posts, 0 answers
  1. Aron
    Aron avatar
    77 posts
    Member since:
    Dec 2005

    Posted 27 May 2011 Link to this post


    We use  Hudson ver. 1.366 to CI Builds

    Could someone please tell me the steps to take their Web UI Tests and integrate them into something like this. Or a similar product.
    So each time they build the run the Web UI Tests

  2. Stoich
    Stoich avatar
    1 posts

    Posted 28 May 2011 Link to this post

    Hi Aron,
         there's definitely more than one way to do it. As far as I can remember the Hudson CI server has the ability to invoke CMD commands on a given machine. The Test Studio installation contains the ArtOfTest.Runner.exe. The runner is an application which will allow you to run tests from CMD. By default on Windows 7 64 bit the ArtOfTest.Runner.exe is here:
    C:\Program Files (x86)\Telerik\Test Studio 2011.1\Bin\ArtOfTest.Runner.exe

    For convenience you should add it as an Environmental variable as seen here:
    Once you do that you'll be able to call the runner from CMD easily. Check out the different parameters that the runner can accept like list and test. You can see all the parameters by typing ArtOfTest.Runner.exe /? in CMD.
    Let's say you have a test called MyTest and its location is c:\.

    You can run that test from CMD with the following command:
    ArtOfTestRunner.exe test="c:\MyTest.tstest"

    You can create a batch file which invokes this command and you can have Hudson run this batch file once a build finishes.
    This is once simple approach to integrating Test Studio tests with Hudson CI server.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top