Forum Discussion

kaivi's avatar
kaivi
Contributor
6 years ago
Solved

Screen Resolution

Hi,

 

we're not getting this fixed. We are using TestExecute on a RemoteDesktopSession. If we have closed the session with the batch from the documentation and a test is running on the session, the test is stopped because the screen resolution is too small (600x720 or less) and some objects are outside the visible area.

 

We changed the registry for the values DefaultSettings.XResolution and DefaultSettings.YResolution did not work. Did you know any resolution?

 

regards

Kai

 

 

  • So i found a resolution a min after posting it:

    Works under win10

    1. Open "Regedit" and navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\XXXXXXXX\00"

    2. Change the "
    PrimSurfSize.cx" and "PrimSurfSize.cy" to your desired values of resolution. Note that it must be changed in "demicial"

    3. Then go to the second "00" and change "DwmClipBox.bottom" and "DwmClipBox.right", "
    PrimSurfSize.cx" and "PrimSurfSize.cy", "ActiveSize.cy" and "ActiveSize.cx"

     

    Maybe the documentation from TestComplete should include this. For 100$ :D just joking :D

     

    regards

    Kai

     

1 Reply

  • kaivi's avatar
    kaivi
    Contributor

    So i found a resolution a min after posting it:

    Works under win10

    1. Open "Regedit" and navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\XXXXXXXX\00"

    2. Change the "
    PrimSurfSize.cx" and "PrimSurfSize.cy" to your desired values of resolution. Note that it must be changed in "demicial"

    3. Then go to the second "00" and change "DwmClipBox.bottom" and "DwmClipBox.right", "
    PrimSurfSize.cx" and "PrimSurfSize.cy", "ActiveSize.cy" and "ActiveSize.cx"

     

    Maybe the documentation from TestComplete should include this. For 100$ :D just joking :D

     

    regards

    Kai