Forum Discussion
sameer004
New 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
tech321
5 years agoContributor
or
context.testCase.getTestStepByName("MY old testcase Name").setName("MY new testcase Name")
Related Content
- 3 years ago_Oliver_
- 11 years agomario_didonna