Micro Focus QTP (UFT) Forums
How to start QTP by itself when we restart our system - 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: How to start QTP by itself when we restart our system (/Thread-How-to-start-QTP-by-itself-when-we-restart-our-system)



How to start QTP by itself when we restart our system - rs_nag - 08-28-2009

Hi friends,

I want to know the method how to start our QTP as soon as we start our system and at the same time to execute our script also, PLZ let me know the method, Thanks in Advance


RE: How to start QTP by itself when we restart our system - Saket - 08-29-2009

hey, Have you tried searching on this forum? You Just need to create a VBS file and you may put the vbs file at your system startup to run it as soon as your system start.

Code:
Set qtApp = CreateObject("QuickTest.Application")
qtApp .Launch
qtApp .Visible = True
qtApp .open "Your Test Path", False

visit these links for more info on this
How To Run QTP Scripts at Scheduled Time?
VBS to launch QTP and invoke script automatically