Posts: 3
Threads: 1
Joined: May 2012
Reputation:
0
05-31-2012, 07:34 PM
When we are scheduling a job/QTP program to run, its throwing some errors/warnings because the system is locked and the QTP is not able to click on the popup window.
Note: Code is running fine during system online and also we have already made the registry value changes for running the QTP when the system is locked.
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
06-01-2012, 11:14 AM
Hi,
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.
Regards,
Sankalp
Posts: 3
Threads: 1
Joined: May 2012
Reputation:
0
06-01-2012, 05:18 PM
Hi Sankalp,
Thanks for the reply, But we have already made all these changes in the registry values . But the issue is : During locking period when a popup window comes QTP is unable to identify the OK button and stuck there Until we login onto the System and do the manually click on the POP UP.
Regards,
Atul Goel
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
06-01-2012, 05:49 PM
Hi,
Is OK btn is identified by qtp when sytem is not locked????
Regards,
Sankalp
Posts: 11
Threads: 1
Joined: Jul 2011
Reputation:
0
06-01-2012, 11:13 PM
Hi
If you still facing the problem try to write some code to perform click operation on keyboard every interval time, It will stop locking ur machine
Posts: 3
Threads: 1
Joined: May 2012
Reputation:
0
06-02-2012, 03:30 PM
(This post was last modified: 06-02-2012, 03:37 PM by Atul Goel.)
Hi Sankalp -- Yes Its is identified by QTP when System is not locked.
Hi Srikanth -- I am not aware with the code you are talking about, Could you please send me the code. If you need snapshots for the issue then just give me ur mailid , will send it across.
Thanks All for your help !!
Srikanth , One more thing our issue is not to stop the System to be locked but we just wanna click on the Popup window when system is locked.
Guys pl provide me a solution for the issue as we need to submit it asap, Let me know if need anymore info.