Forum Discussion
Tylhadras
SmartBear Alumni (Retired)
What you'll need to do is create a Groovy Script Test Step that runs the dependent Test Case.
I've created an example:
import com.eviware.soapui.support.types.StringToObjectMap def externalTestCase = testRunner.testCase.testSuite.project.getTestSuiteByName("Test account creation").getTestCaseByName("accountcreation TestCase") return externalTestCase.run(new StringToObjectMap(), false))
Where the new StringToObjectMap() can be replaces with a map of properties for the dependent Test Case and the second argument (true/false) says wheter to run the external Test Case asynchronously.
vijperum
9 years agoOccasional Contributor
Thank you will try this and let you know
Related Content
- 3 years agoOfer-Yaniv
- 8 years agovikram_u_k