![]() |
executing a .vbs file with qtp script runs - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: executing a .vbs file with qtp script runs (/Thread-executing-a-vbs-file-with-qtp-script-runs) |
executing a .vbs file with qtp script runs - ckedwards65 - 09-11-2009 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 RE: executing a .vbs file with qtp script runs - manabh - 09-11-2009 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 RE: executing a .vbs file with qtp script runs - basanth27 - 09-14-2009 Christine - Search on google for Caffeine.exe. It will keep your system unlocked during the execution process. |