11-25-2019 07:26 PM - edited 11-25-2019 07:27 PM
Hi fellows,
I am trying to use Call Executable step to get the return value of the executable.
I used C code to build an executable, which includes an integer as return value. Then I use Call Executable step to call the program. The step does work and I can see the exit code, which is my return value correctly shown in the report. However, the ExitCode value is not updated in my variable section. It still shows up as 0. Attached is my report result and my variable list after running.
Does anyone know what might be the cause?
Solved! Go to Solution.
11-26-2019 12:52 PM
I was able to get the return value now. I thought the variable session would change during run time, but it actually doesn't. It always shows the default value. The variable is processed during run time. I add a numeric test step to test the previous assigned value and it does work.