Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use excel macro
#2
Solved: 11 Years, 4 Months ago
You can use this function in your Excel Module to Launch QTP

Code:
Sub LaunchQTP()
    Dim qtApp
    Dim qtTest
    
    Set qtApp = CreateObject("QuickTest.Application")  ' Create the Application object
    qtApp.Launch ' Start QuickTest
    qtApp.Visible = True 'Make the QuickTest application visible
End Sub

I am wondering why anyone would like to do this from excel? can you please explain your scenario where you need to do this?

Reply


Messages In This Thread
How to use excel macro - by Maruthi15 - 08-21-2009, 12:26 AM
RE: How to use excel macro - by Saket - 08-21-2009, 10:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Macro Excel for GlobalSheet draconagi 2 2,457 08-21-2012, 06:32 PM
Last Post: draconagi
  excel macro to open QTP from excel karthik1979_us 1 11,115 11-07-2009, 02:57 AM
Last Post: geethwind

Forum Jump:


Users browsing this thread: 1 Guest(s)