12-16-2009, 04:34 PM
you can use caffeine tool to prevent your system from locking.
startup the caffeine tool from qtp when you begin execution of scripts like this:
startup the caffeine tool from qtp when you begin execution of scripts like this:
Code:
InvokeApplication "{path of caffeine in your PC} -startoff"
wait(2)
InvokeApplication "{path of caffeine in your PC} -appon"
and when ur execution complete stop caffeine
InvokeApplication "{path of caffeine in your PC} -appexit"