jomy10
2 years agoOccasional Contributor
Getting test steps in the correct order
I have a javascript which boils down to the following: var testSteps = testRunner.testCase.testSteps.values().toArray();
for (var i = 0; i < testSteps.length; i++) {
log.info(testSteps[i].g...
- 2 years ago
I figured it out, so for anyone who stumbles upon this post:
replace
var testSteps = testRunner.testCase.testSteps.values().toArray();
with
var testSteps = testRunner.testCase.getTestStepList().toArray();