We are using TestComplete to run a batch file and would like to do different actions depending on the outcome of the script in the batch file. I can get %ERRORLEVEL% from the batch file (0, 1, 2, etc.) but how can I read in this into TestComplete?
Ideally, I would prefer to do something like this:
If %ERRORLEVEL% = 0
Do Condition A
Else If %ERRORLEVEL% = 1
Do Condition B