Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Exclude "Begin Sequence" and "End Sequence" from text report in client sequence file

$
0
0

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:

 

https://forums.ni.com/t5/NI-TestStand/Printing-failed-results-not-Begin-and-End-of-Sequence/m-p/58135#M1663

 

The solution above was to modify the ReportGen_txt.seq and in AddSequenceResultToReport_Impl, I marked the following steps as "Skip"

  • Add Sequence Name
  • Add Sequence File Path
  • Add Sequence End Marker

 

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.


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>