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 can I view the differences between bitmaps from a SilkTest results file returned to SilkCentral Test Manager?

How can I view the differences between bitmaps from a SilkTest results file returned to SilkCentral Test Manager?

Problem:

How can I view the differences between bitmaps from a SilkTest results file returned to SilkCentral Test Manager?

Resolution:

QUESTION
----------------------------------

How can I view the differences between bitmaps from a SilkTest results file returned to SilkCentral Test Manager?

ANSWER
----------------------------------

The VerifyBitmap takes an argument that is the location of the baseline bitmap. When this method is executed an *.rmp file is generated in the same directory of the baseline image. This location is also hard-coded into the results file.

In order for SilkCentral Test Manager to load the comparison images specified by the results file, their location must be accessible to the machine Test Manager is currently installed on. To do this, your initial SilkTest script must be tweaked. The VerifyBitmap method in your SilkTest script may take the form:

wMainWin.VerifyBitmap("C:\Baseline-Image\basline.bmp")



This is fine for a script that is being run as standalone, but for SilkCentral Test Manager, the baseline image specified would be inaccessible from the results file returned to it as a local directory on the execution machine was specified. If we share the Baseline-Image directory across the network, we can change our VerifyBitmap method to look like the following:

wMainWin.VerifyBitmap("\\My-Machine\Baseline-Image\baseline.bmp")


Now instead of using a location specific to a machine, we are now using a network location that can be accessed from any machine across the network. Therefore when the results file is loaded from SilkCentral Test Manager, the comparison bitmaps can be loaded into the bitview tool.

Old KB# 24597

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:46
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.