When i am running the QTP scripts on my remote machine the system locks after some time and the scripts does not work.
Can any one please let me know how to run the scripts even when the remote machine is locked?
This is a OS limitation and there's no way to do it. Change the System's policy so that it won't be locked.
Install this tool http://www.geardownload.com/desktop/...-download.html
This will keep pinging your desktop from time to time, and it will restrict your machine to get locked.
New Blog location is, http://automation-performance.blogsp...onnection.html
There are other tools as well. Search the forum you will get to know more tools on restricting your machine to get locked.
when things gets harder ,the harder gets going
another way is to place the below code in a file and run the file from scheduler every 5 minutes.
<font class="small">Code:</font><hr /><pre>
Set oshell= CreateObject("Wscript.Shell")
Set oshell= Nothing
From the QTP FAQs addresses this issue in some detail:
30 Problems with Running QTP on a "locked" system/keyboard