Forum Discussion
Dmitry_Nikolaev
15 years agoStaff
Hi Mike,
Yes, you need to have another machine with TestComplete or TestExecute in this case.
Another way is to schedule the execution of the batch file that applies the following REG file to the registry and reboots the computer:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultDomainName"="DOMAIN"
"DefaultUserName"="USERNAME"
"PowerdownAfterShutdown"="1"
"LogonType"=dword:00000000
"ShowLogonOptions"=dword:00000001
"AutoAdminLogon"="1"
"AutoLogonCount"="1"
"DefaultPassword"="PASSWORD"
"AltDefaultUserName"=""
"AltDefaultDomainName"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"TestComplete Test"="\"c:\\Program Files\\Automated QA\\TestComplete 8\\Bin\\TestComplete.exe\" \"C:\\My Tests\\MyProjectSuite\\MyProjectSuite.pjs\" /r /e /SilentMode"
Replace DOMAIN, USERNAME and PASSWORD with the credentials of the account you want to start your test with. Also, modify the command added to the RunOnce registry key to make it run the correct project.
Let me know whether this works for you.
Related Content
- 12 years ago
- 9 years ago
- 10 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago