Passing values between BP Components
I'm having problems when using a object that was previously declare in one component before... like....
Component # 1
Set QCConnection = CreateObject("TDApiOle80.TDConnection")
QCConnection.login Parameter("QC_User"), Parameter("QC_Password")
QCConnection.Connect Parameter("QC_Domain"), Parameter("QC_Project")
Component # 2
Set tsTreeMgr = QCConnection.TestSetTreeManager
nPath = Parameter("QC_TestLabFolder")
tSetName = Parameter("QC_TestSet")
Set tsFolder = tsTreeMgr.NodeByPath(nPath) 'Navigate to Folder
Set tsList = tsFolder.FindTestSets(tSetName)
Set theTestSet = tsList.item(1)
I get an error on line 1 on the second component saying that object QCConnection is required. How can I reuse the QCConnection declare in the first component in all of the following components?
Re: Passing values between BP Components
I guess, instead of in Component # 1, set QCConnection in a library file (VBS file)