Forum Discussion

mradulkapoor's avatar
mradulkapoor
New Contributor
8 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.

1 Reply

  • If trying in a groovy script testStep,

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