07-07-2019 04:28 PM
I am generating a text report for my test (TestStand 2016 SP1), and have set my result text using the ModifyReportEntry callback. However, I still get the "Begin Sequence" and "End Sequence" header/footer around all my sequence calls. I only want my report to show the individual step results, as discussed in the post below:
The solution above was to modify the ReportGen_txt.seq and in AddSequenceResultToReport_Impl, I marked the following steps as "Skip"
While this works, I'd prefer a more self-contained solution that I can implement within my client sequence file, without needing to modify any files that came with TestStand. I don't want to impact the report generation for other tests that might run on this system, and I also don't want to risk any future updates to TestStand overridding my changes to ReportGen_txt.seq.
Is there a way to do this just using sequence callbacks in my client sequence file? A callback that allows me to set ReportSection.Header and ReportSection.Footer to an empty string would work, but I don't see anything like that.
07-08-2019 03:52 PM
Hi bdybala,
Have you taken a look at this post?
07-08-2019 04:07 PM
Yes, I've actually already overridden the ModifyReportHeader callback, but this only affects the header of the report as a whole. I'm interested in getting rid of the "Begin Sequence" and "End Sequence" text that wraps individual sequence calls within my test.
For example, if my MainSequence is as follows:
Test A - NumericLimitTest
SubSequence() - Sequence call
Subtest B - PassFailTest inside SubSequence
Test C - NumericLimitTest
I only want to log the results of Test A, Subtest B, and Test C. I want to remove the text in bold below:
Begin Sequence: MainSequence
(C:\Projects\My Sequence.seq)
"Test A","Passed",0,0,0,29.1457286,""
Begin Sequence: SubSequence
(C:\Projects\My Sequence.seq)
"Subtest B","Passed",,,,0.1943142,""
End Sequence: SubSequence
"Test C","Passed",0,0,0,29.1457286,""
End Sequence: Main Sequence
07-10-2019 09:50 AM
Hi bdybala,
Could you include screenshots, or a simple TestStand sequence, showing the two options you currently have available (ModifyReportHeader callback solution and modify the ReportGen_txt.seq).
Also, the solution to modify the ReportGen_txt.seq works. What other tests on your computer are you concerned about with that prevent you from using this solution? Also, what do you mean when you say updates will override your changes? Is this avoidable by simply backing up the modifications that you've made?
Best,
Ben
Technical Support Engineer
National Instruments