Forum Discussion
fenwickr
10 years agoOccasional Contributor
nmrao
10 years agoCommunity Hero
Java code should exactly work in Groovy, try it out.
- fenwickr10 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")