How do I change the colours of the result status bars/text in SCTM?

0 Likes

Problem:

How do I change the colours of the result status bars/text in SCTM?

Resolution:

In order to change the colour of the font for "Passed/Failed" etc you use the following keys in the SccFrontendStyles.xml in the "C:\Program Files\Borland\SC Test Manager xxxx\conf\frontendserver" directory:



Status/Info
Status/Success
Status/Warning
Status/WarningGray
Status/Error

The colours of the small bar charts (e.g. in the document view) are defined in the stylesheet file bca_styles.css that can be found in the "C:\Program Files\Borland\SC Test Manager xxxx\wwwroot\silkroot\style" directory. Starting from line 299, the following entries can be found:

td.chart_status_success {background-color:#4FA265; color:#fff; white-space:nowrap; padding:0px; text-align:center; font-size:9px}
td.chart_status_error {background-color:#EB3F29; color:#fff; white-space:nowrap; padding:0px; text-align:center; font-size:9px}
td.chart_status_warning {background-color:#FFB660; color:#373737; white-space:nowrap; padding:0px; text-align:center; font-size:9px}
td.chart_status_others {background-color:#A09F9F; color:#fff; white-space:nowrap; padding:0px; text-align:center; font-size:9px}
td.chart_status_none {background-color:#A5BCDB; color:#fff; white-space:nowrap; padding:0px; text-align:center; font-size:9px}

The "background-color" value is the main colour of the bar chart, whereas the "color" value defines the font colour to be used for the numbers within the bar chart.

In case you want to also change the status images - those can be found in "C:\Program Files\Borland\SC Test Manager xxxx\wwwroot\silkroot\img":

statusSuccess.gif
statusWarning.gif
statusError.gif
statusInfo.gif
statusOther.gif

For the changes in style files, no frontend-server server restart is necessary, but the browser has to be forced to reload the stylesheet files or images (empty browser cache or press Ctrl Reload).

Old KB# 24976
Comment List
Anonymous
Related Discussions
Recommended