Forum Discussion

KSQian's avatar
KSQian
Contributor
7 years ago
Solved

TestComplete/TestExecute command line

Hi,   I'm trying to execute my projects via the command line and it's working except TC has to be not running.   If I try to run it with TC or TE open, it'll say its already open and won't pr...
  • will_fetherolf's avatar
    will_fetherolf
    7 years ago

    You could use the taskkill command that has existed since Vista to kill TestComplete or TestExecute in your batch files.

     

    TASKKILL /IM TestComplete.exe /T
    TASKKILL /IM TestExecute.exe /T

    You can see the docs on it here: https://technet.microsoft.com/en-us/library/bb491009.aspx