Forum Discussion

egiacomi's avatar
egiacomi
Contributor
6 years ago

Launch multiple tests from cmd

Hi,

i want to launch a "composition" of test from CMD , if l launch only one test it works . I use this command to launch one test : 

Start-Process -FilePath "$TestCompletePath" -ArgumentList "$ProjectPath /r /p:bSolid_DEV  /t:KeywordTests|Test1";

I want to run multiple tests in the same instance of TestComplete for this reason i can't do a cycle where for each iteration i launch a test in another instance of TestComplete.

Do you have any ideas to resolve this problem ?

 

Thanks

Emanuele

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Create a single Keyword test that calls the other tests that you want and then call that via command line.

    • egiacomi's avatar
      egiacomi
      Contributor

      This is a good idea but how can I create a KeywordTest and call the other tests from an external script ?

       

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        egiacomi wrote:

        This is a good idea but how can I create a KeywordTest and call the other tests from an external script ?

         


        I'm not sure I understand the question.  You already demonstrated you know how to call a keyword test via commandline externally.