When an Issue field is configured as a List field with colors assigned to each value, Dradis can apply those colors to your Word report automatically. Two special content control tags enable this:
ColorTableCell — fills the background of the table cell that contains the content control with the matching color.ColorFont — sets the font color of the text inside the content control to the matching color.Before using these controls, make sure you have defined a List Issue field with colors assigned in your Report Template Properties.
When Dradis exports a Word report, it reads the color assigned to each List field value in the Report Template Properties. If a content control in the template has a tag of ColorTableCell or ColorFont and its Title matches a List field name, Dradis substitutes the value's color into the Word XML:
For example, if a Rating List field has the value High set to red (#cc0000) and the Issue's Rating field is set to High, any ColorTableCell or ColorFont control with Title set to Rating will be colored red on export.
Use ColorTableCell to fill the background of a table cell based on a List field value. The content control must be placed inside a table cell.
To add a ColorTableCell control in Word:
Rating).ColorTableCell.
You can place a regular field control (e.g. Rating) inside the same cell alongside the ColorTableCell control to show the value as text while also applying the background color.
Use ColorFont to set the text color inside a content control based on a List field value.
To add a ColorFont control in Word:
Rating).ColorFont.
Dradis skips color application if:
ColorTableCell control is not placed inside a table cell.Next help article: Text styles and screenshots →
Loading form...
Your email is kept private. We don't do the spam thing.