Forum Discussion
jeffwood
16 years agoContributor
Try something like this
teardown_testcase = testCase.testSuite.project.getTestSuiteByName("Common").testCases["MyTestCase"]
teardown_testcase.setPropertyValue("prop1", "mypropvalue")
runner = teardown_testcase.run( new com.eviware.soapui.support.types.StringToObjectMap(), false )
myprop2 = teardown_testcase.getPropertyValue("prop2")
teardown_testcase = testCase.testSuite.project.getTestSuiteByName("Common").testCases["MyTestCase"]
teardown_testcase.setPropertyValue("prop1", "mypropvalue")
runner = teardown_testcase.run( new com.eviware.soapui.support.types.StringToObjectMap(), false )
myprop2 = teardown_testcase.getPropertyValue("prop2")