WELCOME
Blog Archive
►
2011
(1)
►
November
(1)
►
2010
(5)
►
October
(5)
▼
2009
(5)
►
December
(2)
►
May
(2)
▼
January
(1)
Locking PC after execution of Automation scripts
About Me
Anil Babu
View my complete profile
Thursday, January 22, 2009
Locking PC after execution of Automation scripts
You can use the following QTP Script to lock your PC :
Set obj = CreateObject("WScript.Shell")
sCmnd = "%windir%\SYSTEM32\rundll32.exe user32.dll,LockWorkStation"
obj.Run sCmnd, 0, False
Newer Posts
Home
Subscribe to:
Comments (Atom)