Forum Discussion

zerickson's avatar
zerickson
New Contributor
12 years ago

Running from Command Line Error

Hello,



I have been attempting to run a TestComplete test project from the command line however I am running into the following problem:



'testcomplete' is not recognized as an internal or external command



I have added the TestComplete bin folder "C:\Program Files\SmartBear\TestComplete 10\Bin" into the Path Environmental Variable, and have tried calling both 'testcomplete' and 'testcomplete.exe'.



Any ideas?



Thank you

3 Replies

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 1 rankChampion Level 1
    Hi Zackory,



    Can you post here complete command line that you have problems with?
  • zerickson's avatar
    zerickson
    New Contributor
    Sure, here is the command I'm using:



    testcomplete UITests.pjs /run /project:UITests /exit /SilentMode /ErrorLog:ErrorLog.txt /ns
  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 1 rankChampion Level 1
    Hi,



    Well... If the system says that it cannot find an executable, this means that it cannot find it. :)

    Try to specify the full path to TestComplete (quotes are required), e.g.:

    "%ProgramFiles%\SmartBear\TestComplete 10\Bin\TestComplete.exe"



    Note, that if you added path to TestComplete to the Path environment variable and tried to start TestComplete by specifying just TestComplete.exe from the command line session that existed before the Path variable was updated, you need to restart command line session because the environmental changes are not propagated into already existing sessions.