07-04-2014 04:32 AM
Hi guys,
I have to read the UUT result which is provioded by the below mentioned expr.
RunState.Sequence.Main["MainSequence Callback"].Result.Status
The thing is I save the result in Custom made TDM file and must close the file .
All this work I do in Cleanup & plan to do In Post UUT but obviously the
result is not available in " RunState.Sequence.Main["MainSequence Callback"].Result.Status"
as PostUUT callback is also part from Main Seq.
what is the work around for this issue
07-04-2014 05:02 AM
Hi,
well to settle for something less
how do I get the result status for
RunState.SequenceFile.Data.Seq["MainSequence"]
07-04-2014 06:23 AM
First of all, the PostUUT sequence is not part of the MainSequence, unless you make a direct call (which is NOT recommended).
As the process model calls the MainSequence, the overall result is determined once that MainSequence finishes.
Some point late, the process model calls PostUUT and passes the result as parameter. This is what you are looking for.
Btw: Don't make "SequenceFile" and "Sequence" a synonym! Even if MainSequence and PostUUT are in the same "sequence file", they are called independantly by the process model!
Norbert
07-04-2014 06:46 AM
I think its
RunState.Root.Locals.ResultList[0].Status
07-04-2014 06:51 AM
Du hast rechts Norbert.