Forum Discussion

mradulkapoor's avatar
mradulkapoor
New Contributor
9 years ago

I need help to know the syntax to delete the step in a test case by step name using grovvy script.

I need help to know the syntax to delete the step in a test case by step name using grovvy script.

  • If trying in a groovy script testStep,

     testRunner.testCase.removeTestStep(testRunner.testCase.getTestStepAt(0))