Ask a Question

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

mradulkapoor
New Contributor

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 1
JKambli
Staff

Re: I need help to know the syntax to delete the step in a test case by step name using grovvy scrip

If trying in a groovy script testStep,

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: