NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I split a result report into two reports after executing a script?

 

How do I split a result report into two reports after executing a script, for example, the red line in the figure is used as the dividing line, and I want to split the same report into two main headings to present the report, how should I do it?

 

 

擷取.PNG

0 Kudos
Message 1 of 3
(307 Views)

IF there is some kind of regular pattern/ config ... to which your reports are to be split, you might implement sth. like this using a custom report plugin based on what you are using now.

 

Yet it might be more efficient to have a post-processing script which is run after actual report generation. (Though you could also run this script as a part of the execution. Sth like: duplicate the original XML and delete the unwanted tags in the according copy...

 

 

 

 

0 Kudos
Message 2 of 3
(279 Views)

Not sure if your intent is clear enough, do you want to split the report into 2 files or 1 file but 2 sections?

If you want tests 4 - 10 to be in a separate table in the same report just create a new sequence and move tests 4 -10 into the new sequence.  Then, in your original sequence file add a Sequence Call to the new sequence.

After you run these updates, you will find the tests 4 -10 will be a separate table with a header named after your new sequence.

0 Kudos
Message 3 of 3
(262 Views)