sameerjade
5 years agoFrequent Contributor
How to get TestExecute exit codes
Hi, I am running my TestComplete tests via TestExecute using a batch file (on TeamCity). I want to be able to get information if a test failed. For this I am trying to get the exit codes shown here:...
- 5 years ago
Hi sameerjade,
In the article you specified I see an example that works with the ERRORLEVEL variable. It looks like it contains the exit code
C:\TestExecuteFolder\Bin\TestExecute.exe C:\Projects\MyProj\MyProj.mds /run /exit IF ERRORLEVEL 1001 GOTO NotEnoughDiskSpace IF ERRORLEVEL 1000 GOTO AnotherInstance