Forum Discussion
ravibabu_it
Occasional Contributor
I am creating and setting properties values in the test case during run time..I checked and those properties are set correctly. Manually I have refereed those values in rest method as ${#TestCase#userid} .Please let me know if you need any more information. Thanks once again for looking into the issue.
myTestCase.setPropertyValue(inputtagList,inputValueList)
def x = myTestCase.getPropertyValue(inputtagList)
log.info " x: $x"
Thanks,
Ravindra
nmrao
7 years agoChampion Level 3
Hmm..
Is it possible for you to use "Run Test Case" step instead? Just to see if that is working?
Is it possible for you to use "Run Test Case" step instead? Just to see if that is working?
- ravibabu_it7 years agoOccasional Contributor
I am not sure how to do that one. Let me research on the syntax and get back to you. Incase if you have syntax handy, please share. Appreciate your support.
- ravibabu_it7 years agoOccasional Contributor
After I followed the suggestion provided by another user i the forum , it worked like charm. Thank you Rao.
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def testCase = testRunner.testCase;
def testStep = testCase.getTestStepAt(0);
//def testStep = testCase.getTestStepByName("Delay");
//def testStep = testCase.testSteps["Delay"];
testRunner = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner(testCase, null);
testStepContext = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext(testStep);
testStep.run(testRunner, testStepContext);
Related Content
- 10 months agolodecesa
Recent Discussions
- 12 hours agoKLWallace
- 7 days agoruchisingh