Citrix session - Ranorex

Ask general questions here.
Posts: 9
Joined: Tue Oct 17, 2017 10:18 am

Citrix session - Ranorex

Post by alexlosk » Wed Feb 14, 2018 12:48 pm

Hi all,

I am having an issue when I schedule my test cases to be executed during the night.
I have a CI server which launches the suite but when it tries to connect to the virtual machine, the machine is locked, therefore, it cannot start with the test activity.

I am using Citrix to connect to this Virtual machine.

First of all I checked the 'Ranorex report' and this was displayed:
image1_ranorex.png (35.13 KiB) Viewed 789 times
So, I realized that the session was locked, then I followed this guide to disable the 'locked session': ... ock-screen

Now the problem is different, as you can see below, the screen is 'black' and ranorex can't track any item:
image2_ranorex.png (26.05 KiB) Viewed 790 times
Any idea about how to fix this?

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

Re: Citrix session - Ranorex

Post by odklizec » Wed Feb 14, 2018 1:22 pm


I guess you will have the use some kind of VNC tool, which keeps the connection open and desktop unlocked? But even better would be to use some kind of CI tool (like Jenkins or Bamboo). You mentioned you are using CI why do you need to use citrix to connect to that VM? Why don't you make that machine a "slave", so CI server will keep the session/connection open?
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