Test GUI with jenkins, when locked screen

Best practices, code snippets for common functionality, examples, and guidelines.
oualiSAI
Posts: 12
Joined: Thu May 10, 2018 8:19 pm

Test GUI with jenkins, when locked screen

Post by oualiSAI » Mon Jul 09, 2018 9:30 am

Hello,

for my project, i have 2 VM , i have installed ranorex in the first and jenkins in the second,

The VM 1 is used like a master in jenkins, and the VM2 where ranorex is installed is used like a slave


the 2 VM are installed at a customer's, i use a VPN to connect to the VMs,

My objectif is to planifiate when tests will run with the VM(junnkins master), and deconnect from the vpn.

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

Re: Test GUI with jenkins, when locked screen

Post by odklizec » Mon Jul 09, 2018 9:59 am

Hi,

I'm afraid, Ranorex (any GUI test automation tool) cannot work with locked desktop. The desktop must be always unlocked, otherwise, Ranorex is not able to access the GUI elements. Please check this post...
https://www.ranorex.com/help/latest/int ... e-desktop/
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

oualiSAI
Posts: 12
Joined: Thu May 10, 2018 8:19 pm

Re: Test GUI with jenkins, when locked screen

Post by oualiSAI » Mon Jul 09, 2018 3:34 pm

What about VNC, is there a solution by using VNC

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

Re: Test GUI with jenkins, when locked screen

Post by odklizec » Mon Jul 09, 2018 4:15 pm

Hi,

As mentioned, in the link I provided, VNC maybe a solution, because it keeps the connection open, even after minimizing/closing the connection window.
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