Running test lists remotely w/ ArtOfTest.Runner

5 posts, 0 answers
  1. Chun
    Chun avatar
    12 posts
    Member since:
    May 2013

    Posted 19 Jun Link to this post

    Hello,

    We have been using Telerik.TestStudio.CommandLineClient.exe to run test lists remotely as part of our CI system but due to major inconsistencies are looking to see how the ArtOfTest.Runner.exe works instead. Here is a sample command of using the CommandLineClient in one of our TeamCity build steps.

    • "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.CommandLineClient.exe" -l "TestLists\OfficialFile.aiilist" -u "http://TestRunner:8009"

    What I need to figure out is how to accomplish this exact same thing with the ArtOfTest.Runner. My initial attempt at creating such a command is shown below.

    • "C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Runner.exe" root="C:\Users\Runner\AppData\Local\Temp\Projects\" list="TestLists\OfficialFile.aiilist"

    But, the above command gives me an error along the lines of unrecognized or incomplete command line. The ArtOfTest.Runner has a few arguments of interest to us (we are not using TFS): primarily list & root. I am probably just using this tool incorrectly but something about the list argument seems problematic as it wants the full path to the test list to run. How can one specify the full path when the projects ran on the scheduling server (found in the C:\Users\Runner\AppData\Local\Temp\Projects\ directory) have unpredictable names such as 1ef60107-4696-4b2c-b34a-bfeb6a2e5a28? Is my root argument correct or does it need the project name with it?

    Thanks!

  2. Chun
    Chun avatar
    12 posts
    Member since:
    May 2013

    Posted 20 Jun in reply to Chun Link to this post

    To answer my second question...it is incorrect. It does need the project name with it. Also, the path to the list arguments needs to be the full path. I still have not figured out the original question though.
  3. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    251 posts

    Posted 22 Jun Link to this post

    Hello Chun,

    Thank you for placing the question in details. Please find further details on the usage of ArtOfTest Runner in this article. Do not hesitate to place any further questions if any arose. 

    Thank you for the cooperation and the shared feedback. 

    Regards,
    Elena Tsvetkova
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  4. Chun
    Chun avatar
    12 posts
    Member since:
    May 2013

    Posted 23 Jun Link to this post

    Just to close this thread and comment on what I have learned if I want to run test lists remotely w/ ArtOfTest.Runner from TeamCity command line build steps.....

    Ultimately, this behavior could be achieved with the use of .bat files on the remote PC and running that/those .bat files with command line client build steps in TeamCity using psexec or something.

    Thanks for your help Elena!

  5. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    251 posts

    Posted 28 Jun Link to this post

    Hi Chun,

    Thanks for summarizing! I am glad to hear you have resolved your doubts! 

    Please do not hesitate to share your constructive feedback in the future. We appreciate customers' cooperation much! 

    Regards,
    Elena Tsvetkova
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top