NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Two reports per test

I have a need to produce two different reports per test. One a simplified pass / fail document, and the other our normal detailed text report.

I am looking for advice how to approach this.

I can add steps to print the pass fail report at the end of each section, but when I tried following an example to print to a word document it failed for lack of Microsoft Word, the company use word365.

Is there a simple way to print to a pdf from a step?

I am using Teststand2020.

Thanks.

David

 

0 Kudos
Message 1 of 6
(1,553 Views)

Just set up 2 reports in the plugin configuration and have one be XML and the other HTML(PDF) but not log any steps.

 

Shows 2 reports setup:

ResultProcessing2Reports.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How I set up the HTML to print to PDF and only show pass/fail information:
PDFNoStepInfo.png

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 6
(1,530 Views)

Thanks, I had missed the simple option.

I had not seen the option to filter the results on a function. I should be able to use that to generate occasional pretty results during the test.

I will do some experimenting and report back.

David

 

0 Kudos
Message 3 of 6
(1,522 Views)

I have tried this and am having some success.

I have created a status filter that looks for pass or fail (not passed / Failed) and am adding action steps to the sequence to report previous step passed or failed at a few critical points.

One annoyance is that it is still creating a XML version of this report, so I now have 3 files my text file the pdf and this extra XML.

David

0 Kudos
Message 4 of 6
(1,489 Views)

The PDF will generate an HTML file.  What is in your result processing configuration?

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 6
(1,481 Views)

I would like to avoid having the html and the pdf reports both saved. At the moment the results folder has the 2 mixed together.

I need to do some work on the formatting of the reports but I would like to get the system working with the default layout to start with.

This is the config screen.

reportconfig.PNG

0 Kudos
Message 6 of 6
(1,476 Views)