Micro Focus QTP (UFT) Forums
Open QTP using Driver Script - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Open QTP using Driver Script (/Thread-Open-QTP-using-Driver-Script)



Open QTP using Driver Script - shipu - 02-26-2014

Hello,

1. I save the below code in notepade and saved it as Driver.vbs.

Code:
Dim qtpApp
set qtpApp=CreateObject ("QuickTest.Application")
qtpApp.Launch
qtpApp.Visible=True

2. I double clicked the Driver.vbs file. QTP does not open.

Any idea?

-S

I have the QTP installed in the C drive.
I have Driver.vbs file in H drive.

Note sure whether this is an issue. I can not save any file in C drive.


RE: Open QTP using Driver Script - supputuri - 02-26-2014

Check if the QTPPro.exe process is initiated in the task manager... And are you connecting to QC when you launch the QTP by default?