This is a migrated thread and some comments may be shown as answers.

Running test lists remotely w/ ArtOfTest.Runner

4 Answers 162 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chun
Top achievements
Rank 1
Chun asked on 19 Jun 2016, 11:26 PM

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!

4 Answers, 1 is accepted

Sort by
0
Chun
Top achievements
Rank 1
answered on 20 Jun 2016, 01:46 PM
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.
0
Elena
Telerik team
answered on 22 Jun 2016, 11:57 AM
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!
0
Chun
Top achievements
Rank 1
answered on 23 Jun 2016, 06:53 PM

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!

0
Elena
Telerik team
answered on 28 Jun 2016, 11:51 AM
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!
Tags
General Discussions
Asked by
Chun
Top achievements
Rank 1
Answers by
Chun
Top achievements
Rank 1
Elena
Telerik team
Share this question
or