Micro Focus QTP (UFT) Forums

Full Version: Open QTP using Driver Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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?