Share this page

VerifyImageMatch(Image,Byte,Byte) Method
Checks whether a snapshot of this object and the supplied image are a match, given the specified pixel and RGB tolerance values.
Remarks
When this method returns a false value, the step fails, but the failure does not throw an exception or cause the test to stop running.

C# Syntax

    bool VerifyImageMatch(
       Image expectedImage,
       byte pixelTolerance,
       byte rgbTolerance
    )

Parameters

expectedImage
  The image to compare to the test object snapshot.
pixelTolerance
  Optional. The percentage of pixels that can differ between the two images, and still be considered a match. Default = 0.
rgbTolerance
  Optional. The percent by which the RGB values of the pixels in the two images can differ, and still be considered a match. Default = 0.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: