I have installed an application and i need to restart the system. How can i automate this scenario using Ranorex.
Soon after restart i need run the ranorex application whcih does some functionality like invoking the Webdocument.
Can you let me know how to automate this????
Automation to restart the system??
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Hello sunitha,
there are several ways to automate a restart with Ranorex.
- in code call: e.g. in VB.NET
- 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
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")
- 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