Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running QTP from MS Excel 2003
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
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?
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Hey there,

Now, it works perfectly alright. No issues.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Running QTP scripts without QC sowjanya 3 5,911 07-16-2015, 11:16 AM
Last Post: ravi.gajul
  QTP does not stop running furqanmlk 2 3,665 08-25-2013, 02:06 PM
Last Post: GregHicks
  QTPv10 vs Windows Server 2003 R2 64 Bit SP2 srinibarati 2 3,552 01-28-2010, 06:38 PM
Last Post: srinibarati
  Running QTP scripts through QC sunny rao 9 31,872 09-16-2009, 01:57 PM
Last Post: 1981.madhu@gmail.com
  After running about 70-80 transactions QTP and the browser hangs and stops running. pram 11 9,749 08-28-2009, 06:21 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)