View Full Version : How to create a global object
indika
07-26-2006, 03:02 PM
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
indika
07-26-2006, 03:14 PM
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
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.