How to Keep the QTP Test Running when Computer is Locked
HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest
Professional\MicTest
With MicTest highlighted you will see many registry settings. Scroll down the list until you get to SkipEnvironmentChecks.
Change the value of this registry setting to 1 (from 0).
This will cause QTP to not check for the system being locked and will instead kick off your test. However, if the machine is logged off, it will not help. So make sure that the machine you want to run the script on is locked and not logged off and you should be fine.
With MicTest highlighted you will see many registry settings. Scroll down the list until you get to SkipEnvironmentChecks.
Change the value of this registry setting to 1 (from 0).
This will cause QTP to not check for the system being locked and will instead kick off your test. However, if the machine is logged off, it will not help. So make sure that the machine you want to run the script on is locked and not logged off and you should be fine.
No comments:
Post a Comment