Not only can you customize colors in your reports, but
you can also make the report colors change when they match a formula
that you set.
Procedure
- In the Test Navigator, expand the project until you locate
the run. Each run begins with the name of the schedule
or test, and ends with the date of the run in brackets.
- Double-click the run. The default report
opens.
- Right-click the graphic to modify, and then click Customize
Colors. The Customize Colors window
opens.
- Select one of the following:
Option |
Description |
Use default palette |
Click to use the predefined color combinations on the Performance
Test Reports preference page (). |
Define simple palette |
Click to define a simple array of colors. The first color
is assigned to the first graphic element. The second color is assigned
to the second graphic element, and so on. |
Define conditional palettes |
Click to define a color that is used when a graphic matches
an expression (for example, you can make a bar turn red when its value
is >= 1000 ms, or a table cell turn green
when its value = "Passed"). |
- Click OK.
- To apply the palette to all results opened with this report,
save the report (). When you open other results with the saved report,
the palette is applied to the result.
Results
You have now assigned custom colors to a report. If you have
defined a conditional palette, you can open the report during a run
and see it change colors when it satisfies the values that you have
set.