Version

Verify2Images(String,String,String,String) Method

Use the Test Automation Image verification to verify non-infragistics control images.
Syntax
'Declaration
 
Public Overloads Function Verify2Images( _
   ByVal expectedFileName As String, _
   ByVal actualFileName As String, _
   ByVal outputLocation As String, _
   ByRef logURL As String _
) As Boolean
public bool Verify2Images( 
   string expectedFileName,
   string actualFileName,
   string outputLocation,
   out string logURL
)

Parameters

expectedFileName
Expected image (png format)
actualFileName
Actual image (png format)
outputLocation
in case the verification fail, save the expected, actual, difference, and an html file that shows all three. This parameter contains the folder where these files will be stored.
logURL
link to the result html if the comparison fail

Return Value

true if the comparision passed, false otherwise
Remarks
In order to use this method you will need to take the image of a specifiec control, save it to a file then call
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also