Forum Discussion
nmrao
Champion Level 3
Java code should exactly work in Groovy, try it out.
fenwickr
9 years agoOccasional Contributor
Found an quicker way to update body of txt by using
def Email1 = testRunner.testCase.getTestStepByName("SendMail")
def message = "Test Message to body "
Email1.setPropertyValue("message", "$message")