Jenkins DeviceConnected timeout

Mobile Testing, Android App Testing.
ErisG
Posts: 2
Joined: Fri Apr 29, 2022 9:27 am

Jenkins DeviceConnected timeout

Post by ErisG » Mon May 16, 2022 10:30 am

Hello everyone,

Our team is using Ranorex for test automation on mobile devices, we do weekly test runs on Jenkins and we have this issue, where we occasionally get DeviceConnected timeout errors.
We noticed that the timeouts occur when nobody is actively on the machine where the tests are running. We used for some time a Powershell script which kept the visual session on, but it looks like that this script doesn't work anymore.
We also use a KeepSession alive batch file, to keep the visual session alive.
We also can't update the Ranorex version, because we need 10.1.1 to work with iOS and Android devices.
The timeout errors occured only on Androif AFAIK.

We are using following machine to run the tests:
HP EliteDesk 800 G3 DM 65W
Ranorex version: 10.1.1

Are there any known workarounds or fixes?
Thanks in advance!

Best regards,
Eris