Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 4

Get Exit code when running Suite silent


How to get the exit code of a suite that is ran silently through cmd?

The only way to get information is to use /debuglog then look at the actual log, what i need is when i run in command prompt to get any information whether it succeeded or failed.

Labels (1)
0 Kudos
(1) Reply
Level 12 Flexeran
Level 12 Flexeran

That depends entirely on how you launch the suite. If it's through a programming API, look to your programming language (e.g. GetExitCodeProcess()). If it's through the command shell, look towards %ERRORLEVEL%. If it's from the start/run menu, I don't know of a good way to get that one.
0 Kudos