01-31-2013 05:12 AM
Dear All,
I've set the option "terminate execution" on my "On Step fail" postaction, but even though the execution is terminated properly, TestStand doesn't generate the report. I'd like to see which tests had been executed before the execution of the step has been terminated, I also whant to understand which test is the guilty of the termination. It seems the process model doesn't work as I'm aspecting, where do you think I've to look at to check if it's working properly?
Thank you in advance!
Solved! Go to Solution.
01-31-2013 05:33 AM
On terminate reports are not generated.
In step properties you can select to go to cleanup on failure.
This will generate report and you know which step failed.
Termination should be avoided as far as possible.
02-01-2013 02:20 AM
Right, but I'd like that on the head of the report will be reported "TERMINATED", I suppose I can monitor the status of the step which is performing on a post expression and I'm able to do it but, I don't know how to change the the head of the report to notice that it was terminated, please could you suggest me the way I can follow to reach that goal?
02-04-2013 04:08 PM
I created a numeric limit step with the None adapter, configured it to fail, set the Fail post-action to Terminate and ran it Single Pass with the default result processing configuration
---> It outputs a report with "terminated" in the header.
This is the default behavior I expected.
Perhaps you've changed something else that is causing a different outcome?
02-06-2013 01:38 AM - edited 02-06-2013 01:40 AM
Yes James,
I've done the same as you had done and the report has been created as expected and as you've checked. Therefore, I don't know what exactely happend that day, the reports weren't generated on termination. Perhaps it was enough to reset the PC.
Thanks all anyway for the support you gave me.
Bye.