Running Tests - Bitmap tool
154
User's Guide
6 R
UNNING
T
ESTS
AND
I
NTERPRETING
R
ESULTS
Using the results file to find errors
Bitmap tool
The following figure shows the bitmap tool. The baseline bitmap for the Font
dialog in the Text Editor is compared to the result bitmap, which shows the
Font dialog when the testcase was run. The Differences window shows the
area of difference between the two bitmaps, that is, the different selection for
Font Style.
Finding application logic errors
To evaluate application logic errors, SilkTest provides the Difference Viewer,
which you can invoke by clicking on the box icon following an error message
relating to an application's behavior.
Difference Viewer
Clicking on the box icon invokes the Difference Viewer's double-paned
display-only window (shown in the following figure). It lists every expected
(baseline) value in the left pane and the corresponding actual value in the
right pane. SilkTest highlights all occurrences where expected and actual
values differ. On color monitors, differences are marked with red, blue, or
green lines, which denote different types of differences, for example, deleted,
changed, and added items. The highlight is not visible in the black-and-white
The baseline bitmap
shows Regular as the
font style.
The result bitmap
shows Bold as the
font style.
The Differences
window shows the
differences between
the baseline and
result bitmap