CommandLineClient - no distribution of tests

2 posts, 0 answers
  1. Kim
    Kim avatar
    3 posts
    Member since:
    Nov 2015

    Posted 29 Mar 2019 Link to this post

    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");

  2. Elena
    Elena avatar
    1222 posts

    Posted 03 Apr 2019 Link to this post

    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.

    Elena Tsvetkova
    Progress Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top