Page 1 of 1

How to Check Display Settings When a Test Starts (Windows 10)

Posted: Tue Dec 11, 2018 10:46 am
by davepotts
I'd like to have a test to check my display settings are 100% zoom at 1080p before running a test. I can open the display settings dialog in Windows 10 and from Spy identify it with:

Code: Select all

/winapp[@packagename='windows.immersivecontrolpanel']
When I add this to Studio and try to run the test I can open the display settings fine, but the Xpath doesn't find the elements. Any idea what I might be getting wrong?

Re: How to Check Display Settings When a Test Starts (Windows 10)

Posted: Tue Dec 11, 2018 3:14 pm
by odklizec
Hi,

What Ranorex version do you use? Do you have something in the WhiteList (e.g. your app under test or any web browser)? If yes, then you must add also SystemSettings process to the whitelist...
SystemSettings_WhiteList.png
Otherwise, the system settings and its elements are ignored by Ranorex (in favor of other whitelisted processes)!