Share this page

VerifyImageExists Method
Checks whether a snapshot of this object contains the supplied image.
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

    Nullable<Point> VerifyImageExists(
       Image imageToFind,
       byte similarity
    )

Parameters

imageToFind
  The image to look for within the test object's snapshot.
similarity
  Optional. The minimum similarity between the two images (as a percentage), above which the find is considered a match. Default = 100.

Return Value

the Point where the image was located, or null if it was not found.

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: