googleid_104927
11 years agoContributor
URGENT - IntegrationObject.RunRoutine
I want to run a specific project inside a project suite.
I could have multiple projects inside a project suite.
I have the mds file extension's path with me and I am passing the same to TC integration object.
IntegrationObject.OpenProjectSuite(mdsfile)
IntegrationObject.RunRoutine(mdsfile,"driver", "driver.main") is causing an exception in my application.
Can someone say how to accomplish this ASAP?
Quick response s much appreciated!
I could have multiple projects inside a project suite.
I have the mds file extension's path with me and I am passing the same to TC integration object.
IntegrationObject.OpenProjectSuite(mdsfile)
IntegrationObject.RunRoutine(mdsfile,"driver", "driver.main") is causing an exception in my application.
Can someone say how to accomplish this ASAP?
Quick response s much appreciated!
- Hi,
The RunRoutine method obtains the folowing parameters:
IntegrationObj.RunRoutine(ProjectName, UnitName, RoutineName)
So, to run a script function, you should use something like this (replace the values with yours):
IntegrationObj.RunRoutine("<ProjectName>", "Unit1", "Main")
If you want to run the entire project, you need to use the RunProject method:
IntegrationObj.RunProject("<ProjectName>")