Micro Focus QTP (UFT) Forums
Running QTP from MS Excel 2003 - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Running QTP from MS Excel 2003 (/Thread-Running-QTP-from-MS-Excel-2003)



Running QTP from MS Excel 2003 - Krish Udavant - 03-11-2011

Hi Ankur,

I am new to qtp. I wish to invoke qtp 10 from MS Excel 2003 on Windows XP. I wrote following staements in excel macro. When I run this it gives me error called "ActiveX component cant create object". I tried registering - regsvr32 "C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll"

Code:
Dim App
    ' --- launcing qtp with required setting from .vbs file
    Set App = CreateObject("quicktest.application")
    App.Launch
    ' --- making qtp visible
    App.Visible = True

Can anybody help me please?


RE: Running QTP from MS Excel 2003 - Krish Udavant - 03-12-2011

Hey there,

Now, it works perfectly alright. No issues.