|
A bitmap checkpoint on identical bitmaps could fail if different display drivers are
used when you create the checkpoint and when you run the test, because
different display drivers may draw the same bitmap using slightly different color
definitions. For example, white can be displayed as RGB (255,255,255) with one
display driver and as RGB (231,231,231) with another.
To set the ignorable color difference level:
1 Open wrun.ini from the <WinRunner installation folder>\dat folder.
2 Adding the XR_COLOR_DIFF_PRCNT= parameter to the [WrCfg] section.
3 Enter the value indicating the maximum percentage difference to ignore.
In the example described above the difference between each RGB component
(255:231) is about 9.4%, so setting the XR_COLOR_DIFF_PRCNT parameter
to 10 forces WinRunner to treat the bitmaps as equal:
[WrCfg]
XR_COLOR_DIFF_PRCNT=10
ANY ISSUES,PLE LET ME KONW! |
|