06-18-2010 09:02 AM
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?
06-20-2010 09:32 PM
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.
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,
06-20-2010 09:37 PM
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.
06-21-2010 09:55 AM
I should have mentioned that we are using TestStand 3.1 and CVI 7.1. Thanks.
06-22-2010 05:50 PM
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