Posts: 1
Threads: 1
Joined: Oct 2009
Reputation:
0
08-24-2010, 08:17 PM
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
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
08-24-2010, 09:52 PM
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.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-27-2010, 08:27 AM
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 ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 20
Threads: 2
Joined: Jul 2010
Reputation:
0
09-05-2010, 06:30 PM
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
Posts: 1
Threads: 0
Joined: Mar 2011
Reputation:
0
03-14-2011, 02:18 PM
(This post was last modified: 03-14-2011, 02:27 PM by DPrinny.)
which computer do you like to play?
I LIKE THE IPAD
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
03-14-2011, 04:54 PM
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.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.