Forum Discussion
Trojka
8 years agoOccasional Contributor
Solved it using this, but is this the only way?
def maxNumber = context.expand( '${DataSource#MaxNumber}' )
testRunner.testCase.getTestStepByName("IncrementTerminalId").getPropertyAt(0).getProperty().setEndValue(maxNumber);
log.info testRunner.testCase.getTestStepByName("IncrementTerminalId").getPropertyAt(0).getProperty().getEndValue();