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

CommandLineClient - no distribution of tests

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kim
Top achievements
Rank 1
Kim asked on 29 Mar 2019, 01:12 PM

We have telerik integrated in our tfs deployment cycle. We use Telerik.TestStudio.CommandLineClient.exe to start the testlist. That is working fine but now we were wondering if we could expand it. Is it is possible to add a second execution runner machine but play 1 testlist always completely on 1 machine (so no distributing of tests among the machines)? This should be helpful if auto-deployments test at the same time or if a machine is busy with the auto-deployment and a tester wants to verify some test on the other machine.

Can we add an argument not to distribute the tests? We tried '-d false' (and true) but that didn't work.

$testListPath = "$testListsDirectory\$testListName.aiilist"
$arguments = @('-l', $testListPath, '-u', 'fakeurl', '-e', "$requesterEmailAddress");


1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 03 Apr 2019, 01:02 PM
Hello Kim,

Thank you for the shared details. 

Please, read here some additional details for the available arguments you can use with the CommanLineRunner.exe. The argument to distribute the test list run across the execution machines is an optional one. So, if you don't include it in the command, the run will not be distributed. So the below command should work for you: 

-l "testListPath" -u "fakeurl"

However, you should keep in mind that this will execute the test list on the first available and free machine in the setup - it will not be possible to choose which execution machine should run the job. 

On the other hand, this is the runner which uses the Scheduling setup of Test Studio. If you can perform local runs, then you can also explore the options to use the ArtOfTest.Runner.exe - this is the main test runner of Test Studio and it also allows you some further options. 

I hope these notes will be helpful for you. And in case you have any questions, please let me know.

Regards,
Elena Tsvetkova
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Kim
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or