Micro Focus QTP (UFT) Forums
Unlock computer using Taskshecduler(QTP) - 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: Unlock computer using Taskshecduler(QTP) (/Thread-Unlock-computer-using-Taskshecduler-QTP)



Unlock computer using Taskshecduler(QTP) - badhurudeeen.s - 08-24-2010

Hi
I need vbs code for unlock the computer. I am using the Task scheduler for execute Qtp script at particular time. But qtp does not launch particular time unless pc is unlock. ?

Thanks
Badhurudeen S


RE: Unlock computer using Taskshecduler(QTP) - sreekanth chilam - 08-24-2010

Hi,

We can lock a computer using the code but I hope unlocking a pc is not possible.

Note: Would like to bring to your kind notice that QTP may not replay consistently on a locked machine.
Since following problems may occur in doing so:
1. The test or component run session may fail
2. steps that contain keyboard or focus operations may fail

Hence we should make sure that the computer on which the application is being tested is not logged off or locked.
Suggest to schedule scripts in a secure Lab environment for better results in long run.


RE: Unlock computer using Taskshecduler(QTP) - basanth27 - 08-27-2010

I am unsure if at all there exists a programming language/code/software/hackware/script or anything which would aid windows to unlock the computer which in simple terms is a breach of security.

It is possible to keep your computer unlocked..a topic discussed several times here...but i am just probably thinkin if this is what you wanted ?


RE: Unlock computer using Taskshecduler(QTP) - mvuyy001 - 09-05-2010

Hi,
Simplest way is to disable screensaver on the test PC that you want to schedule a test run. Simple Registry change would enable you to enable/disable a screensaver that would in turn NOT lock the test PC.

Thanks
MV


RE: Unlock computer using Taskshecduler(QTP) - DPrinny - 03-14-2011

which computer do you like to play?
I LIKE THE IPAD


RE: Unlock computer using Taskshecduler(QTP) - basanth27 - 03-14-2011

I suggest you stop using IPad to post meaningless replies causing unprecendent waste of time.
May this sound a warning to you that such miserable behaviour is least tolerated.