NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Genrate a report on Termination

Solved!
Go to solution

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!

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
0 Kudos
Message 1 of 5
(3,723 Views)

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.

0 Kudos
Message 2 of 5
(3,722 Views)

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?

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
0 Kudos
Message 3 of 5
(3,705 Views)
Solution
Accepted by g_Ricky

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?

 

Message 4 of 5
(3,675 Views)

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.

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
0 Kudos
Message 5 of 5
(3,660 Views)