Forum Discussion
Jasper175
13 years agoFrequent Contributor
Never figured out how to execute a full testsuite - but I have code to run a testCase in another suite.
//--Define your testCase pointer
def TC = testRunner.testCase.testSuite.project.getTestSuiteByName("Resource Manger (SRM)").getTestCaseByName("SRMTestCase")
//--Define the external string object
def properties = new com.eviware.soapui.support.types.StringToObjectMap ()
def async = false
//--run object string against TC
TC.run (properties, async)
//--Define your testCase pointer
def TC = testRunner.testCase.testSuite.project.getTestSuiteByName("Resource Manger (SRM)").getTestCaseByName("SRMTestCase")
//--Define the external string object
def properties = new com.eviware.soapui.support.types.StringToObjectMap ()
def async = false
//--run object string against TC
TC.run (properties, async)