Citrix session - Ranorex

Ask general questions here.
alexlosk
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
image1_ranorex.png (35.13 KiB) Viewed 292 times
So, I realized that the session was locked, then I followed this guide to disable the 'locked session':
https://www.windowscentral.com/how-disa ... 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
image2_ranorex.png (26.05 KiB) Viewed 293 times
Any idea about how to fix this?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
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

Hi,

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 server...so 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