Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use excel macro
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
Please can any one help me Smile

How to lunch qtp from excel macro and how to run qtp scripts through excel macro.

Can any one share documents on key word driven framework.

Thanks
Maruthi
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks 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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)