Forum Discussion
joeljons
9 years agoStaff
Now the code will look for the property called curHolidayVariable. Try changing it to
def holidayVariable = context.expand("\${#TestCase#${curHolidayVariable}}")
or
def holidayVariable = context.expand('${#TestCase#' + curHolidayVariable + '}')
That will make the code look for holiday_1, holiday_2, etc.
Related Content
- 5 years agoComputingFroggy
Recent Discussions
- 4 hours agoLukaszK