cancel
Showing results for 
Search instead for 
Did you mean: 

aqEnvironment.RebootAndContinue insufficient permissions

Super Contributor

aqEnvironment.RebootAndContinue insufficient permissions

I am trying to execute a RebootAndContinue as follows:

 

function Reboot()
{
  	var password = ProjectSuite.Variables.WindowsLoginPassword;
	aqEnvironment.RebootAndContinue("Administration.AfterReboot", password);
}

function AfterReboot()
{
	Log.Message("Reboot occured.");
}

Upon running the Reboot function, I receive "Insufficient permissions". My user is in the local administrator group. My shortcut, which is the ONLY way I load TC has run as administrator selected.

 

I talked to my network guy, and he cannot think of anything that would cause this. Help? Tahnks.

1 REPLY 1
Community Hero

Re: aqEnvironment.RebootAndContinue insufficient permissions

Have you tried explicitly declaring the username and domain for the login?


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2