NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I customise the HTML report as follows?

How do I customise the HTML report as follows?

1. Remove �Begin Sequence: MainSequence� and File path.
2. Remove �End Sequence : MainSequence�
3. Entire result table align in left of the page.
4. Get separate sub-sequence results, each in a separate sheet in order to avoid split tables.
Message 1 of 3
(2,191 Views)
Hi MR SSL,

You will have to modify the reportgen_html.seq file.
Copy the file from ..\National Instruments\TestStand 3.0\Components\NI\Models\TestStandModels and to
..\National Instruments\TestStand 3.0\Components\User\Models\TestStandModels.

Now you can start to modify the reportgen_html.seq in the User folder.
To modify for item 1 and 2.
In the sequence 'AddSequenceResultToReport', set to skip of remove the following steps.
'Add Sequence Name'
'Add Sequence File Path'
'Add Sequence End Marker'

Item 3 - not sure what you mean by this. Do you mean remove any indents for subsequence results.
In the 'AddSequenceResultToReport' you will need to put a precondition Parameters.Level == 0 on the steps
Add Starting BLOCKQUOTE
Add Ending BLOCKQUOTE

T
his will remove the indent.

For item 4, well that is a bit more involved and I dont think it will solve what you what because it will depend if you limit the amount of information to say a A4 sheet.
I believe you will have to generate separate html file for each sub- sequence and then use the hyper-link TAG eg Sub-Sequence 1 to link them in the main document. Also you may what another hyper-link to get you back to the main document.

Hope this helps.
I have attached a modified reportgen_html.seq (TS3.0) for items 1,2 and 3.

Regards
Ray Farmer
Regards
Ray Farmer
Message 2 of 3
(2,192 Views)

Hi any solution for new Version TestStand? I'm Using TestStand2020, which seems quite different from TS3.0

0 Kudos
Message 3 of 3
(12 Views)