richard_mischle
13 years agoOccasional Contributor
aqEnvironment RebootandContinue is not Rebooting
Hello,
I've created a scheduled task to run my project suite every night, but my virtual machine locks up after 15 minutes of inactivity and requires a username and password to get back in. I've disabled the screensaver, but it still locks. I'm using the below function in an attempt to log into my virtual machine to kick off automation. The logoff works and everything closes, but it never logs back into the machine. I've also tried to convert my project suite to a network suite b/c this will allow me to run nightly automation and connect to a virtual machine, but I keep getting prompted that the project variables I have do not exist. I have a Ton of automation already and don't want to change everything. Any idea what is wrong with the script or another way to do this?
function Reboot()
{
aqEnvironment["RebootAndContinue"]("Run.StartSuite", Project["Variables"]["Password"], Project["Variables"]["Username"], Project["Variables"]["Domain"]);
}
Thanks,
Richard
I've created a scheduled task to run my project suite every night, but my virtual machine locks up after 15 minutes of inactivity and requires a username and password to get back in. I've disabled the screensaver, but it still locks. I'm using the below function in an attempt to log into my virtual machine to kick off automation. The logoff works and everything closes, but it never logs back into the machine. I've also tried to convert my project suite to a network suite b/c this will allow me to run nightly automation and connect to a virtual machine, but I keep getting prompted that the project variables I have do not exist. I have a Ton of automation already and don't want to change everything. Any idea what is wrong with the script or another way to do this?
function Reboot()
{
aqEnvironment["RebootAndContinue"]("Run.StartSuite", Project["Variables"]["Password"], Project["Variables"]["Username"], Project["Variables"]["Domain"]);
}
Thanks,
Richard