#1
|
|||
|
|||
How to create a global object
I want to create a COM object when the build starts(in build starting event), that all steps can use. Much like Application or Project.
How do I do this, or can I do this? Thanks Indika |
#2
|
|||
|
|||
I found it
Create and store the object like this: Set Runner = CreateObject("IDEAScriptRunner.RunScript") ' store in a temporary macro vbld_TempMacros().Add "Runner", Runner Get it and use it like this: Set Runner = vbld_TempMacroObj("Runner") Runner.PutTestStep(Step) Runner.PutVBPApplication(Application) 'Runner.RunScript |
Thread Tools | |
Display Modes | Rate This Thread |
|
|