NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you add comments to the XML reports other than one Block Comment and one Test Comment?

I know how to use Block Comments and Test Comments but if I need to add more comments to my XML report in a test other than one Test comment, is there a way to do this?  In other words, I would like to be able to add say 5 comment lines for a single test.  Also, can a Test Comment or Block comment be more than one line in length?  If so, how do you do that?

0 Kudos
Message 1 of 5
(3,933 Views)

What version of TS do you have?  If you have 4.1 or better (might be possible in 4.0 I can't remember) you can just use the additional results.  So in the step properties you will see Additional Results.  Then just add as many as you want. 

 

17027iDCB2502BB5339894

 

 

Then you will see it show up in the report like you want.  I couldn't get multiple lines to work in one comment.  I tried \n but that didn't seem to be supported here.

 

Hope this helps,

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

Figured out how to add a new line in your comment.  Just put <br> in your text.  So in the value to log type: "Hello <br> World <br> !"  and you will get 3 lines.

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

I should have mentioned that we are using TestStand 3.1 and CVI 7.1.  Thanks.

0 Kudos
Message 4 of 5
(3,873 Views)

Hi helfrich,

 

Have you looked into either of these options?

 

Adding Step Comments to TestStand Reports

Adding Extra Results to a Report Using the ModifyReportEntryCallback Sequence

Best Regards,
Swathi B
0 Kudos
Message 5 of 5
(3,839 Views)