Adding Line Breaks in Teststand Report Table Using Style Sheet

Updated Nov 1, 2023

Reported In

Software

  • TestStand
  • TestStand 2021

Issue Details

I want to customize my TestStand report by allowing for line breaks in the tables. How do I do this?


 

Solution

1. Modifying the tables requires you to modify the style sheet you are using. See how to edit the TestStand style sheets.
2. Locate the correct section of the style sheet to edit
a) To edit the columns of the TestStand report use the link to locate the correct line in the style sheet. 
b) To allow this for the sequence step(s) table, see this link to locate the correct line in the style sheet. 
3. Look for the <style> element that applies CSS styling. By adding td{word-break:break-all;} inside, the table row can be formatted correctly.

For example, for TestStand 2021 63 Bit, adding td{word-break:break-all;} to the  <style> element that applies CSS styling;

image.png

This will result in the Sequence Step(s) Table allowing for line breaks, so its formatting will go from this;

image.png

to this;

image.png