07-09-2015 04:50 AM
I am using TestStand 2013 and Sequence Editor Version 5.1
TestStand lists only the first failed step and it's sub steps in the Failure Chain under header section of the Report.
I wish to list all the failed steps under Failure Chain.
The following link did not help me.
Has any one had similar requirement and able to implement it ?
Eagerly waiting for your support 🙂
08-19-2015 05:44 AM
I have tried the approach suggested in the KB article and it worked for me.
Could you try copying the attached reportgen_html.seq file to <TestStand Public>\Components\Models\TestStandModels and then executing your sequence to see if you get the desired behavior.
Oh, one other thing, and i think this was not mentioned in the KB: For this to work, you have to configure TestStand to use the "Sequence" report generator instead of the "DLL" report generator, since you are essentially modifying the generator sequence in the steps mentioned in the KB.
You can find the option under Configure->Result Processing..->Report Options-> Select a Report generator for Producing the Report Body. Choose Sequence instead of DLL.
Hope this helps.
08-19-2015 06:11 AM
Thank you for your reply.
I did copy the reportgen_html.seq to the location you suggested. However, things still don't work for me. I am not sure what I am missing out.
My <TestStand Public>\Components\Models did not have TestStandModels folder. I created one and added Seq file to it.
I set a break point in reportgen_html.seq, but found out that this Seq was not called.
Would appreciate more help from you.
08-19-2015 06:25 AM
I am sure you might have already done it, but just to confirm, have you updated the "Configure->Result Processing..->Report Options-> Select a Report generator for Producing the Report Body" option to Sequence.
If it is still set to DLL, then that could be why the sequence is not getting executed.
Also ensure that HTML Document is selected as the report format. In fact, could use try and use the same settings that i have under Report Options.
01-18-2018 09:40 AM
I also stumbled into this problem, but I wanted it to work for xml. I found this guide http://www.ni.com/example/28326/en/ but it was written for older versions of TestStand. However I got it working by picking the original "reportgen_xml.seq" from the installation directory for TestStand 2016 and modified it in the same manner described in the guide I found above. I just copied the sequence and replace the call to modelsupport2.dll with a call to the copied sequence. Place the file in the <Teststand Public> directory under Components\Models\TestStandModels\ and it works.
To be able to view the Failure chain in ascending order I had to change that in the .xsl stylesheet. Just searched for "CriticalFailureStack" and then found an option for the "for-each" code snippet that can be set to descending or ascending mode.
I attached the modified file to this post if anyone else need it.
05-30-2018 09:19 AM
Did you get it work?
I'm actually facing the same issue. I would like to list all the failures in the failure chain in TestStand 2017, the link http://www.ni.com/tutorial/4563/en/ here is only for the older version.
Thank you very much for your time!
06-11-2018 03:56 AM
Yes I got it to work in TestStand 2016 as you can see in my previous post. However I haven't updated to TestStand 2017 yet so I don't know if it will work when I do.
06-11-2018 05:16 AM
Thank you very much for the reply.
I found out I should uncheck on-the-fly report to make it work.
06-19-2018 05:10 AM
Hi J Werner,
I am happy that you managed to solve the problem. I am still stuck with the same old problem. I am using TestStand 2013 and I wish to see the complete failure chain in XML report. Unfortunately I cannot open your sequence as it is saved in TS 2016 version. The link to the example is no longer working. In TS2013 reportgen_xml.seq there is no PutOneResultInReport.seq, so I am stuck with problem. It would be great if you can upload the reportgen_xml.seq for older version (TS2013).