Micro Focus QTP (UFT) Forums
Execute QTP script in locked machine - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Execute QTP script in locked machine (/Thread-Execute-QTP-script-in-locked-machine)



Execute QTP script in locked machine - sundarsece - 01-07-2011

Could you please any one tell me how to execute QTP window application script in locked machine. the script is running fine in locked machine for window application but is not working for window application. im getting object not visible error.


Thanks.
Sundar S Smile


RE: Execute QTP script in locked machine - UFTEnthusiast - 01-07-2011

Please follow below steps:

Start--->Run--> Type 'Regedit'
Change the following registry settings..
Goto following folder..
HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest
Professional\MicTest
Locate the key "SkipEnvironmentChecks"
By Default the value will be "0"
Change the value to "1" and restart the QTP.

Now QTP will run with system locked.

Cheers,
Thanks very much for info..


RE: Execute QTP script in locked machine - amitspandey - 01-10-2011

Hi,
I tried as per ur guidance but it didnt work..Sad
do i need to restart the system after changeing the value to 1.


RE: Execute QTP script in locked machine - amitspandey - 01-14-2011

Thanks its working


RE: Execute QTP script in locked machine - pranshuagarwal - 04-02-2012

Hi Rajendra,
It might be a very stupid question to ask but I dont have a Quicktest Professional folder under Mercury Interactive under HKEY_LOCAL_MACHINE. But i do have it and the correspnding 'Skip Environment Check' key under HKEY_CURRENT_USER heading. I did the same value change in this key and tried but it still doesnt work.

Thanks
pranshuagarwal