Page 1 of 1

KeepSessionOpen.bat

Posted: Fri Jul 26, 2019 2:36 am
by Fuentes
Hi Team, I'm breaking my head thinking for a solution that allows me to execute my Ranorex scripts using TeamCity nightly builds on an AWS Virtual Machine. If I'm on an RDP works pretty well. But we all know that if I logged off the scripts fails because the windows session closes. So I discovered this link:

https://www.ranorex.com/help/latest/ran ... g-and-faq/

And works for me pretty well but the resolution is super tiny. Somebody knows how to increase the size of the resolution using the same batch file instructions.

What I'm looking for is be able to execute my scripts at night using TeamCity without log on to the Virtual Machine, is that possible?

What I got so far.
TeamCity building steps configured and working well if I'm login.
TeamCity agent not started as a windows server.
Ranorex version 8.3

Thanks in advance.

Re: KeepSessionOpen.bat

Posted: Fri Jul 26, 2019 9:14 pm
by N612
The resolution when disconnected from the machine is the machines default resolution. If you are not able to change the default resolution through the normal Windows settings, you can try QRes or another third-party tool. If using QRes, simply add the command at the end of the KeepSessionOpen batch file.