Forum Discussion

luciekrist's avatar
luciekrist
New Contributor
6 years ago

Problem with accessing a property defined in groovy script (date now)

Hey guys I manage to generate today's date using this code:   def dateFormat = "yyyy-MM-dd" def date = "${new Date().format(dateFormat) }" testRunner.testCase.setPropertyValue('dateNow', date) ...
  • nmrao's avatar
    6 years ago
    Please use "${#TestCase#dateNow}"