01-30-2014, 11:10 PM
I want to invoke the recording of QTP using AOM(automation object model) of QTP.
Requirement Explanation : I want to invoke QTP record through AOM using VBS.As we can create object of QTP application and using that object can control and use all the feature of QTP.
Following are the example which loads test and run using AOM of QTP.
In the same way I want to invoke qtp application and then start recording using AOM.I have tried following code did not work.
gobjQtpApp.Test.Record
Please help me out
Requirement Explanation : I want to invoke QTP record through AOM using VBS.As we can create object of QTP application and using that object can control and use all the feature of QTP.
Following are the example which loads test and run using AOM of QTP.
Code:
Set gobjQtpApp = CreateObject("QuickTest.Application")
gobjQtpApp.Launch
gobjQtpApp.Visible = True
gobjQtpApp.Open "test path", True
gobjQtpApp.Test.Run
In the same way I want to invoke qtp application and then start recording using AOM.I have tried following code did not work.
gobjQtpApp.Test.Record
Please help me out