Forum Discussion
SmartBear_Suppo
Alumni
12 years agoGreat to hear it works. Thanks for sharing the resolution!
Thanks,
Michael Giller
SmartBear Software
Thanks,
Michael Giller
SmartBear Software
sameer004
8 years agoNew Contributor
import groovy.io.FileType
///getTestStepAt(3) means the testcase is at the 4th index in testsuite, it starts like an error
context.testCase.getTestStepAt(3).setName("MY new testcase Name")
Hope it helps
- tech3217 years agoContributor
or
context.testCase.getTestStepByName("MY old testcase Name").setName("MY new testcase Name")