Ask a Question

Multiple reboot in tests

shocky
Visitor

Multiple reboot in tests

Hi,

Some of my tests require me to reboot multiple times. I'm using aqEnvironnement.RebootAndContinue , which works well the first time. But after the first reboot, TestComplete does not starts as administrator anymore. So, subsequent call to that function will fail because the lack of privilege.

Is there a way around this ?

Thanks

1 REPLY 1
Marsha_R
Community Hero

Re: Multiple reboot in tests

See if this helps

https://support.smartbear.com/testcomplete/docs/general-info/configuring/testing-under-admin-account...

Modify the TestComplete.exe file properties to always run it as an administrator:

  1. Locate the TestComplete.exe file in Windows Explorer or other file manager:

  2. Right-click the file and select Properties from the context menu.

  3. Switch to the Compatibility tabbed page.

  4. Select the Run this program as an administrator check box and click OK.

Now every time time you run TestComplete – whether via a shortcut, from command line or any other way – it will be run as administrator.

cancel
Showing results for 
Search instead for 
Did you mean: