Menubar Client Rectangle Incorrect

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
michaelvdnest
Posts: 2
Joined: Thu Oct 21, 2021 8:12 am

Menubar Client Rectangle Incorrect

Post by michaelvdnest » Thu Oct 21, 2021 8:28 am

Hi,

I am running Ranorex 10.1.2 on a remote Windows Server 2019 machine.

The offset for the menubar client rectangle is incorrect on the machine for various applications. I downloaded the KeePass sample and the location MenuBar is incorrectly identified in Ranorex Spy. Menuitems are therefore not clicked correctly when running a tests/recordings from Ranorex Studio.

Please see the below attachment showing where the MenuBar highlight is located. I have also included the SnapShot of the MainMenu of Keypass on the remote machine.
Capture.PNG
Capture.PNG (662.24 KiB) Viewed 545 times
Attachments
Keepass MainMenu.rxsnp
(78.3 KiB) Downloaded 49 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7221
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Menubar Client Rectangle Incorrect

Post by odklizec » Fri Oct 22, 2021 7:54 am

Hi,

The issue is most probably caused by screen scaling. Please make sure the display scaling is set to 100%.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

michaelvdnest
Posts: 2
Joined: Thu Oct 21, 2021 8:12 am

Re: Menubar Client Rectangle Incorrect

Post by michaelvdnest » Tue Nov 02, 2021 10:32 am

Thank you for the response. The issue was fixed by setting the display scaling on my local machine to 100% before running the test in the remote session.