Multiple reboot in tests
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 ?
Solved! Go to Solution.
See if this helps
Modify the TestComplete.exe file properties to always run it as an administrator:
Locate the TestComplete.exe file in Windows Explorer or other file manager:
Right-click the file and select Properties from the context menu.
Switch to the Compatibility tabbed page.
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.
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.