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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: