02-29-2016 03:47 AM
Hello,
i have a testplan in Teststand 2014 Sp1 with a batchmodel with 3 DUTs. With a C# program i start the Testplan. This is no problem. When i want to terminate the test execution i call the api function AxExecutionViewMgr.TerminateExectuion(). But this methode stops only the last DUT or sometimes the two last DUTs execution.
I found a other command "terminateall". But this method is not callable over the api.
So...how i can stop the testexecution of a batchmodel with the api?
regards,
René
02-29-2016 05:27 AM
Hi Rene,
the "TerminateAll" is not a method of the Execution View manager.
Instead:
Application manager --> get engine --> terminate all
I'm not sure about the syntax but the inheritance/containment hirarchy should help to get you going.
Best Regards
Mathis
02-29-2016 05:33 AM
Hi,
thanks 🙂
i found the terminateall and test it. Now all DUTs are stopped 🙂
regards,
René