Forum Discussion
hoferGue
15 years agoNew Contributor
hi i found a solution, which is rather easy
def tc =testSuite.getTestCaseByName( "Setup" )
def properties = new com.eviware.soapui.support.types.StringToObjectMap ()
tc.run(properties, false)
now i can call my setup/tear-down testcases from the script, in the normal testsuite they are disabled, and no even if an error occurs, everything is cleaned up
def tc =testSuite.getTestCaseByName( "Setup" )
def properties = new com.eviware.soapui.support.types.StringToObjectMap ()
tc.run(properties, false)
now i can call my setup/tear-down testcases from the script, in the normal testsuite they are disabled, and no even if an error occurs, everything is cleaned up
Gurbakhsish
10 years agoOccasional Contributor
Hi, this does not seems valid for language javascript and on Ready 1.7.0. I am not able to find types module under com.eviware.soapui.support