Forum Discussion

khapre's avatar
khapre
Occasional Contributor
12 years ago

create groovyteststep from groovy script

Hi All,

Here I am trying to create groovy test step using groovy code:

WsdlTestCase newTestCase = testRunner.testCase.testSuite.project.testSuites["RegressionTestSuite"].addNewTestCase("${p_TestCaseId}")
TestStepConfig config2 = com.eviware.soapui.impl.wsdl.teststeps.GroovyScriptStepFactory.createNewTestStep( newTestCase, "myGroovy");


On executing - I am getting error:

ERROR:groovy.lang.MissingPropertyException: No such property: com for class: Script11

what is wrong here. why this error?

Regards,
Ashish
No RepliesBe the first to reply