Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is the script not running when the system is lock?
#2
Solved: 11 Years, 4 Months ago
If u r testing a we app, it will not have any problems until u get a popup window. When the system is locked the OS wont allow any key stroke or mouse movement. so the script will not be able to click the popup and will fail.

U can avoid the System lock by Following steps

1. copy & Paste below code in notepad

Code:
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.SendKeys "{CTRL}+{ALT}"

2. Save as keypress.vbs file
3. Schedule in microsoft scheduler (Start> Programs> Accessories> system tools> Scheduled Tasks> Add Scheduled Task)map the .vbs file
4. Schedule for 'n' number of hours...

U r system won't lock.....and qtp will execute the scripts successfully....
Reply


Messages In This Thread
RE: is the script not running when the system is lock? - by keerthi.cit - 05-14-2008, 04:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make QTP Script to work when system gets locked? ramkumarad 6 12,492 11-02-2017, 03:37 PM
Last Post: Divv
  UFT Script running twice SacJoshi 0 2,236 11-11-2016, 01:51 PM
Last Post: SacJoshi
  machine lock unlock uft_usr 0 1,760 06-21-2016, 09:52 PM
Last Post: uft_usr
  Local System Monitor kbhargava505 0 2,524 10-16-2015, 12:52 PM
Last Post: kbhargava505
  QTP system related issue Bharathi Kanagarajan 1 2,095 09-12-2015, 11:28 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)