Forum Discussion
rraghvani
Champion Level 3
3 months agoHere's an example, where I run individual functions i.e. test1, test2, test3, test4 to log either a message, warning or error.
When test1 completes, it returns ERRORLEVEL = 0.
When test2 completes, it returns ERRORLEVEL = 1.
When test3 completes, it returns ERRORLEVEL = 2.
When test4 completes, it returns ERRORLEVEL = 2, because the highest level is logged
If the instance of TestComplete/TestExecute is not executed within the same process, you will get a different retuned value.