Page 1 of 1

Issue in running the tests from azure pipeline

Posted: Wed Aug 12, 2020 7:34 am
by Anusha_Vakada
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?

Thanks,
Anusha.

Re: Issue in running the tests from azure pipeline

Posted: Mon Aug 17, 2020 9:01 am
by odklizec
Hi,

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.