import java.text.SimpleDateFormat GregorianCalendar calendar = new GregorianCalendar() def dateFormat = new SimpleDateFormat("yyyyMMddhhmmss") def currentTime = dateFormat.format(calendar.getTime()).toString() context.testCase.getTestStepByName("Properties").setPropertyValue("newGroupName", "AutoSanity_AR_"+currentTime)