08-13-2018 09:50 AM - edited 08-13-2018 09:52 AM
Hi,
I'm trying to work on an old Teststand version (4.2) on windows XP for a client that can't justify migrating to newer version of teststand because it is a product that are end-of-life but they aren't dead yet and can't tell when they will be.
I need to be able to extract the failure from the SequenceContext but each time I try to get the SequenceContext, an exception is raised telling "Execution is not paused".
First of all, how to I pause an execution from the C# UI ?
I've tried to get the SequenceContext from the following events without any success :
- axApplicationMgr_UserMessage
- axExecutionViewMgr_EndExecution
- axExecutionViewMgr_Break
- axApplicationMgr_EndExecution
Any idea what I'm doing wrong?
I'm pretty sure it is simple to do but can't figure out what I'm doing wrong..
Thanks
Solved! Go to Solution.
08-13-2018 12:17 PM
Ok, I've answered myself to the problem.
I used the ResultObject and ResultStatus to extract the ResultList PropertyObject and extract data.
I that way, no need to get the SequenceContext object and have problem with pausing it.
Hope this helps someone one day.