Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
executing a .vbs file with qtp script runs
#1
Solved: 10 Years, 9 Months ago
I have a .vbs file that I need to execute while a QTP script is running to make sure that the pc isn't locked. Is there a way to automate scheduling this .vbs to run and then turning it off when the script is done?

Thanks,
Christine
Reply
#2
Solved: 10 Years, 9 Months ago
Hi,
You can parameterize this file.Send parameters as On/Off.Based on those parameters, you can lock/unlock machine.
Else Use ExecuteFile(Unlockmachine.vbs)....which will unlock the machine & Executefile(LockMachine.vbs).
Two files UnlockMachine.vbs will unlock the machine & LockMachine.vbs will lock the machine
Reply
#3
Solved: 10 Years, 9 Months ago
Christine -
Search on google for Caffeine.exe.

It will keep your system unlocked during the execution process.
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error when executing an UFT automation script alexalloza 0 1,386 10-30-2018, 06:17 PM
Last Post: alexalloza
  Executing via create "RES"xx folder? nishitd 0 1,105 03-07-2018, 01:09 AM
Last Post: nishitd
  Sending json file request and validating response in soap UI tool using Groovy script smiley 0 3,648 07-19-2017, 04:58 PM
Last Post: smiley
  UFT Tool runs more than one iteration always cthossain 2 3,329 02-12-2017, 01:25 PM
Last Post: cthossain
  Extract and save a file from zip folder using VB Script karthicksri07 1 6,182 06-29-2016, 02:19 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 2 Guest(s)