background image
<< Running Tests - Navigating to errors in the testplan | Running Tests - Fixing errors in a script >>
Running Tests - Bitmap tool
<< Running Tests - Navigating to errors in the testplan | Running Tests - Fixing errors in a script >>
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.
The bitmap tool supports several comparison commands, which let you
closely inspect the differences between the baseline and results bitmaps.
These commands are described in "Comparing bitmaps" on page 414. In
particular, see "Zooming in on the differences" on page 416.
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