Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Abhishek,
I suppose the CreateRegionInfo method slows down the comparison procedure. Let me quote the "CreateRegionInfo Method" article:
If a region checkpoint compares a baseline image with the tested object’s rectangular area specified by the RegionInfo object, it performs comparison until the actual rectangular area matches the baseline image or until the timeout period specified by the Auto-wait timeout setting elapses. If a region checkpoint compares a baseline image with the Picture object, it returns the comparison results immediately.
So, using the Picture method that returns the Pricture object may help you speed up the test execution. For example: