RJanecek
14 years agoRegular Contributor
clone testCase using groovy
Hi,
i am trying to clone a testcase through groovy script. Below is the code which work fine
import com.eviware.soapui.impl.wsdl.actions.testcase.CloneTestCaseAction
def ca = new CloneTestCaseAction();
ca.perform(testCase,Object)
which called from testcase setup script window. But this piece of code would prompt the close test case form and i have to click okay to complete the cloning action. Is THERE any way to bypass the " ok" button click action. ?? Any alternative way of handling this through groovy scripting. ?
i am trying to clone a testcase through groovy script. Below is the code which work fine
import com.eviware.soapui.impl.wsdl.actions.testcase.CloneTestCaseAction
def ca = new CloneTestCaseAction();
ca.perform(testCase,Object)
which called from testcase setup script window. But this piece of code would prompt the close test case form and i have to click okay to complete the cloning action. Is THERE any way to bypass the " ok" button click action. ?? Any alternative way of handling this through groovy scripting. ?