Awesome
17 years agoFrequent Contributor
how do you delete a request step from groovy?
hi all,
how do you delete a request step from groovy?
i've tried the following but no luck:
request_name="the_request_name"
//testRunner.testCase.removeTestStep.getTestStepByName("the_request_name")
//testRunner.testCase.testSteps[request_name].remove
//testRunner.getTestCase().getTestStepByName().removeTestStep(request_name)
thanks
how do you delete a request step from groovy?
i've tried the following but no luck:
request_name="the_request_name"
//testRunner.testCase.removeTestStep.getTestStepByName("the_request_name")
//testRunner.testCase.testSteps[request_name].remove
//testRunner.getTestCase().getTestStepByName().removeTestStep(request_name)
thanks