02-27-2006 02:57 PM
02-28-2006 02:52 PM - edited 02-28-2006 02:52 PM
Hey Florin,
You can get access to it by using the following:
RunState.Sequence.Main["Call Executable"].ExitCodeStatusAction
Message Edited by Sam R on 02-28-2006 02:53 PM
05-14-2006 06:08 AM - edited 05-14-2006 06:08 AM
1. That already does not exist in TS 3.5 -> RunState.Sequence.Main["Call Executable"].ExitCodeStatusAction
2. I think that the correct form is -> RunState
.Sequence.Main["Call Executable"].Result.StatusI suppose that ExitCodeStatusAction == Result.Status
If i am not right please correct me!
Message Edited by Yuri_IL on 05-14-2006 06:09 AM
Message Edited by Yuri_IL on 05-14-2006 06:10 AM
05-14-2006 11:55 AM
Hi,
RunState.Main["Call Executable"].ExitCodeStatusAction does exist, its what you set to tell the step what action to take depending on the value of the return code value. Its also dependent on the value of the WaitCondition.
Regards
Ray Farmer
05-15-2006 12:47 AM - edited 05-15-2006 12:47 AM
Ray,
When I put : RunState.Main["Call Executable"].ExitCodeStatusAction at step's Expression region it's gives a mistake and more that it when I
wrote RunState.Main["MyCallExe"]. <-- after 'dot' I did not get any suggestions to complete it from TestStand auto-
complete system, so the TestStand does not know that thing.
Perhaps, that thing does not work in Expression region? If that must to work, so it does not exist in TestStand 3.5.
If you think that it must to work, so in which section i must put it?
Message Edited by Yuri_IL on 05-15-2006 12:47 AM
05-15-2006 01:14 AM
Hi Yuir_IL,
ExitCodeStatusAction is dependant on what the WaitCondition property is set to. If the WaitCondition is set to No Wait, then maybe it doesn't give you the opposite. That is want happens when you open the Configure Exe dialog.
Regards
Ray Farmer
05-29-2006 12:41 AM - edited 05-29-2006 12:41 AM
Florinn!
Could you post your exe so that one may try to figure it out?
/Vedeja
Message Edited by Vedeja on 05-29-2006 12:42 AM
05-29-2006 08:42 AM
05-29-2006 12:21 PM
Str(RunState.Sequence.Main["Call Executable"].Result.ExitCode)