cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Resolution

SOLVED
Contributor

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: Screen Resolution

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$ Smiley Very Happy just joking Smiley Very Happy

 

regards

Kai

 

View solution in original post

1 REPLY 1
Contributor

Re: Screen Resolution

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$ Smiley Very Happy just joking Smiley Very Happy

 

regards

Kai

 

View solution in original post