Forum Discussion
pkunst
12 years agoContributor
Yes it is.
You need the TestSuite from and the call getTestCaseAt or getTestCaseByName.
If you want the TestCase from another TestSuite you need to go at first to the project and then select the TestSuite you want.
Also you can have a look at these links and the get-methods:
http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestCase.html
http://www.soapui.org/apidocs/com/eviware/soapui/model/project/Project.html
http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestSuite.html
You need the TestSuite from and the call getTestCaseAt or getTestCaseByName.
testRunner.testCase.testSuite.getTestCaseByName("xyz")
If you want the TestCase from another TestSuite you need to go at first to the project and then select the TestSuite you want.
testRunner.testCase.testSuite.project.getTestSuiteByName("abc")
Also you can have a look at these links and the get-methods:
http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestCase.html
http://www.soapui.org/apidocs/com/eviware/soapui/model/project/Project.html
http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestSuite.html