Forum Discussion

aaronpliu's avatar
aaronpliu
Frequent Contributor
4 years ago

Re: Calling a TestSuite from test step of another Test case

Hi kannan ,

 

yes, it should be easy to implement it with groovy scripts.

 

 

// groovy

def testSuiteList = ["TestSuite1", "TestSuite2", "TestSuite3"]

def ts= null

testSuiteList.each {

    ts = testRunner.testCase.testSuite.project.testSuites[it]

    ts.run(new com.eviware.soapui.support.types.StringToObjectMap(), false)

}

 

Thanks,

/Aaron

1 Reply

  • kannan's avatar
    kannan
    Occasional Contributor
    Perfect aaronpliu . This worked . One more question is there anyway to make it run in parallel ?