Forum Discussion

Kevin_Mekhitari's avatar
13 years ago

Region Checkpoints across multiple virtual machines

We have a project suite for our Windows application that is comprised of about 50 tests. Previously, we recorded and ran these tests from a single machine but now want to run this suite from several virtual machines using the Remote Desktop Connection. 

How does TestComplete (and TestExecute) compare Region Checkpoints from computers with different a) monitor brands/sizes or b) monitor resolutions or c) video cards?

By using the Remote Desktop Connection, we removed any differences seen by operating system themes. However we are still unsure if the images recorded will pass if we run these test from several different machines. 



What factors determine if a region checkpoint passes on virtual machines?

1 Reply

  • AlexKaras's avatar
    AlexKaras
    Community Hero
    Hi Kevin,



    Images of different sizes are obviously different. I don't remember about resolutions, but even if TestComplete can convert images to the same resolution, the result of conversion is unstable because it includes floating-point operations.

    You can play with the comparison mask, color tolerance and other parameters described in the help system, but in general, images comparison is pretty unreliable and should be used only if you cannot get to the properties of compared objects in any other way.

    Otherwise, it is much more reliable to use property or object comparison checkpoint instead of the image one.