Hello sunitha,
there are several ways to automate a restart with Ranorex.
- in code call: e.g. in VB.NET
Code: Select all
System.Diagnostics.Process.Start("shutdown", "-r -t 00")
- automate click on start button -> shutdown -> restart
- over the cmd shell: shutdown -r
For starting automation code after reboot:
- simply include your automation app in the autostart folder
e.g. windows xp english:
C:\Documents and Settings\cschmid\Start Menu\Programs\Startup
- or use the runonce registry key: discussed earlier
http://www.ranorex.com/forum/installati ... -t835.html
Regards,
Christian
Ranorex Support Team