Forum Discussion
AlexeyK
14 years agoSmartBear Alumni (Retired)
Michael,
The manual comparison is error-prone as you can miss some slight differences. You can automate comparing images with the Compare method. To specify the images to be compared, you can just specify the appropriate test objects, there is no need to save the images to files and then compare them from the files:
' window1 and window2 are the test objects that correspond to the windows to be compared
' Get the Picture object for one of the windows
picture1 = window1.Picture(...)
' Compare the images
picture1.Compare(window2, ...)
See also Comparing Images in Scripts and other topics of the Region Checkpoints section.
Related Content
- 10 years ago
- 10 years ago
- 9 years ago
Recent Discussions
- 11 hours ago
- 7 days ago
- 10 days ago