hoferGue
14 years agoNew Contributor
Running an existing Testcase in an setup script
Hi,
i just wanted to know if it is possible to run an existing testcase within
a) a setup/teardown script of another test suitee
b) a setup/teardown script of the testsuite containing the testcase
i have tried
import com.eviware.soapui.model.testsuite.TestRunner
def tc = testRunner.testCase.testSuite.project.testSuites[ "FullTest_ContainerService" ].testCases[ "Setup" ]
but it seems as if the script section is not capable of using the testrunner
thx for your help in advance
i just wanted to know if it is possible to run an existing testcase within
a) a setup/teardown script of another test suitee
b) a setup/teardown script of the testsuite containing the testcase
i have tried
import com.eviware.soapui.model.testsuite.TestRunner
def tc = testRunner.testCase.testSuite.project.testSuites[ "FullTest_ContainerService" ].testCases[ "Setup" ]
but it seems as if the script section is not capable of using the testrunner
thx for your help in advance