Forum Discussion

googleid_104927's avatar
googleid_104927
Contributor
10 years ago
Solved

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 integ...
  • TanyaYatskovska's avatar
    10 years ago
    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>")