Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

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

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

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

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:51
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.