EngineResultExtensions Methods
Last updated
Was this helpful?
Last updated
Was this helpful?
Gets the image information of the image instance that was found in .
This method only works for IEngineResults that are returned from a successful image search. If that is not the case, it will return null. Example for usage:
t.Testee.FindImage(imgFolderName).GetImageInfo().FileName
Parameter
Description
info
The ImageInfo object (which contains the FileName) of the image instance that was found by the image search. If search was not successful, null is returned.
Checks whether a specific image reference was found in an image search for multiple image references. Returns true if an image contained within the referenced imageReference was found.
Parameter
Description
info
imageReference
True if an image contained within the referenced imageReference was found, false otherwise. If image search was not successful or info was not an image search at all, returns false as well.
Type: The object on which the extension is called and for which the image info will be returned.
Type: The object on which the extension is called and for which the image info will be returned.
Type: The image reference that shall be checked if it was found.