12-04-2023 05:04 AM
Can anyone help me.
I have a sequence that consists of several subsequences each of them with several tests and also subs with there tests. Also there are some test and evaluations in MainSequence. I want to evaluate the status before finnishing MainSequence to do some extra tests on fail.
I
know that I can access the Parameters.Result.Status from PostUUT. But is there a parameter that can used from MainSequence?
I have google and found the following suggestions.
RunState.SequenceFailed
thisContext.SequenceFailed
ThisContext.RunState.Main.SequenceFailed
Does anyone knows if any of them works in my case?
12-04-2023 09:38 AM
So, you did some investigation, have you tested which of the approaches works?
Using breakpoints and checking the variables pane can help a lot!
At least one of your suggestions works IMHO 😉 so go ahead, try and learn😊
12-05-2023 04:47 AM
I will go with RunState.SequenceFailed and hope it will work in any situations