QTP Forums

Full Version: Unlock computer using Taskshecduler(QTP)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
(08-24-2010 08:17 PM)badhurudeeen.s Wrote: [ -> ]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

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 ?
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
(08-24-2010 09:52 PM)sreekanth chilam Wrote: [ -> ]Hi,

We can lock a computer using the code but I hope unlocking a pc is not possible.
ipad 2 smart cover
iPad2case
leather ipad 2 covers

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.

which computer do you like to play?
I LIKE THE IPAD
(03-14-2011 02:18 PM)DPrinny Wrote: [ -> ]
(08-24-2010 09:52 PM)sreekanth chilam Wrote: [ -> ]Hi,

We can lock a computer using the code but I hope unlocking a pc is not possible.
ipad 2 smart cover
iPad2case
leather ipad 2 covers

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.

which computer do you like to play?
I LIKE THE IPAD
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.
Reference URL's