![]() |
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 |
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 |
All times are GMT -5. The time now is 07:51 AM. |
Copyright © 1999-2023 Kinook Software, Inc.