Issue in running the tests from azure pipeline

Ask general questions here.
Posts: 2
Joined: Fri Jul 24, 2020 2:24 pm

Issue in running the tests from azure pipeline

Post by Anusha_Vakada » Wed Aug 12, 2020 7:34 am

Hi All,

I have azure pipeline to trigger the ranorex tests on the client(TFS agent is interactive).
Everyday morning, the client will be restarted.
Does anyone know why tests are failing until user connects to the machine?


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

Re: Issue in running the tests from azure pipeline

Post by odklizec » Mon Aug 17, 2020 9:01 am


Ranorex needs a realized desktop for its run. Which means, that the machine must be logged in and stay logged during the test run!

I'm afraid, I'm not using Azure, but I guess the principle is the same, regardless of used cloud setup? If the machine gets restarted every morning, you must assure that it also logs in. I'm using Logon Expert tool, which logs my VMs and keep them logged in during the test. We are using a special user account for tests, so it's not linked with specific (human) user.
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