NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

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

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/5813...

 

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.

0 Kudos
Message 1 of 4
(2,804 Views)
0 Kudos
Message 2 of 4
(2,773 Views)

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

Message 3 of 4
(2,771 Views)

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

0 Kudos
Message 4 of 4
(2,739 Views)