indika
10-10-2006, 11:24 AM
I'm creating a com interface and storing it using vbldMacroTemporary.
Later on I get the interface from the macros, but I cant access metods defined in the interface
The error I'm getting is "Object doesn't support this property or method: 'Runner.PutTestStep'"
Here is my code vbscript
Set MasterMacros = Application.Macros(vbldMacroTemporary)
Set MasterMacro = MasterMacros("Runner")
if MasterMacro Is Nothing Then
Set Runner = CreateObject("IDEAScriptRunner.RunScript")
Else
Set Runner = MasterMacro
Runner.PutVBPApplication(objAppFTM) 'ERROR HERE
End If
ANY HELP??
Later on I get the interface from the macros, but I cant access metods defined in the interface
The error I'm getting is "Object doesn't support this property or method: 'Runner.PutTestStep'"
Here is my code vbscript
Set MasterMacros = Application.Macros(vbldMacroTemporary)
Set MasterMacro = MasterMacros("Runner")
if MasterMacro Is Nothing Then
Set Runner = CreateObject("IDEAScriptRunner.RunScript")
Else
Set Runner = MasterMacro
Runner.PutVBPApplication(objAppFTM) 'ERROR HERE
End If
ANY HELP??