Forum Discussion

asah_asah's avatar
asah_asah
New Contributor
11 years ago

TestComplete 10.0.531 : DPI mismatch

Hi,

I have been using testcomplete for more than an year. Recently got my laptops upgraded (Full HD : 1920x1080). 

The main use of test complete is to compare images. After the laptop upgrade, all my region comparison test fail.



I could not find any better help in forums. Is there a way to change my present laptop settings to match the previous one??



I have tried the following procedures but none worked:

1. Change the system resolution to 1366x768 (Which was similar to my previous laptop)

2. Change dpi to "smaller" i.e. 96 pixels per inch (similar to my old laptop)

3. Disable display scaling on high DPI settings for my application that is being tested.



Note: Another major difference between the present and previous laptop is the present laptop is installed with Windows 7 64-bit but the previous one was installed with windows 7 32-bit.



Example images attached where the expected image has different pixel dimensions and the actual image has different pixel dimensions



2 Replies

  • asah_asah's avatar
    asah_asah
    New Contributor
    Hello Tanya,



    I have tried the same options. If you check my previous post:

    1. Screen resolution

    2. DPI Setting

    3. Display Scaling



    Other options in the "Factors Affecting Image Comparison" are not related to the reasons my tests failing. 

    If you check the images attached in my first post, the diference between the two images is it's pixel size.



    My refernce image's dimension is 266x132 but in my new laptops with the same version of application when tested, it captures the image with 354x162. 



    Capture_Compare_2.jpg shows the difference between the images which is similar to the screen resolution issue in "Factors Affecting Image Comparison".



    Please let me know if there is any other procedure to solve the same without changinig the reference region images.