Forum Discussion

ucsmea01's avatar
ucsmea01
New Contributor
13 years ago

TC 9 Problem from the command line

I am trying to run a test initiated from the command line on a WIN 7 machine.  The script successfully runs interactively and it successfully runs using TestExecute on a Windows 2003 machine.  On the WIN 7 machine when I start the .bat file I have created which is basically the same .bat the runs successfully on the 2003 machine, TestComplete starts and then that is it.  The command window justs freezes up and no messages are received.  Here is the contents of the .bat file:



"C:\Program Files\SmartBear\TestComplete 9\Bin\TestComplete.exe" "C:\M5 Automated Test Scripts\Add Chg Del Tests

\Add_Chg_Del\Add_Chg_Del.pjs" /r /e /p:Add_Chg_Del /u:Main /rt:Main /exportlog:C:\M5 Automated Test Scripts\Error Logs

\m5_error_log.mht



IF ERRORLEVEL 3 GOTO CannotRun

IF ERRORLEVEL 2 GOTO Errors

IF ERRORLEVEL 1 GOTO Warnings

IF ERRORLEVEL 0 GOTO Success

 

:CannotRun

ECHO The script cannot be run

GOTO End

 :Errors

ECHO There are errors

GOTO End

 :Warnings

ECHO There are warnings

GOTO End

:Success

ECHO No errors

GOTO End



Anybody ever have this problem? 



Thanks in advance.

1 Reply

  • Hi Michael,



    As far as I can see, you have opened a support ticket regarding this, and Jared is already assisting you. Please use that ticket for further correspondence.