Screensaver tests

Ask general questions here.
marlonc
Posts: 6
Joined: Mon Apr 03, 2017 12:29 am

Screensaver tests

Post by marlonc » Sun May 21, 2017 11:58 pm

Hi, while others recommend disabling the screensaver while testing. Ours need it to be running. In fact screensaver is one of our product to be tested. Currently, when I perform a record on previewing the screen saver, ranorex displays black screen on the logs.
Is there a way to grab the currently displayed screensaver?

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

Re: Screensaver tests

Post by odklizec » Mon May 22, 2017 11:31 am

Hi,

As far as I know, that's not possible. Ranorex (any GUI test automation tool) requires realized desktop and screensavers simply locks it. So no, there is most probably no way to automate screensaver-based tests.
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

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Screensaver tests

Post by krstcs » Tue May 23, 2017 1:32 pm

There is no "probably" about it... ;)

There is NO WAY to test screensavers with Ranorex, or any other functional test automation tool, in Windows.

This is a WINDOWS SECURITY FEATURE and cannot be changed, turned off, etc.
Shortcuts usually aren't...

mcjammer
Posts: 1
Joined: Wed Mar 28, 2018 11:21 pm

Re: Screensaver tests

Post by mcjammer » Wed Mar 28, 2018 11:25 pm

finally, we were able to check this using hyper-v manager. we moved the test machines to vm and use hyper-v to check if screensavers kicked off. thanks.