Forum Discussion
nmrao
Champion Level 3
May be more details on what you already have or more precise detials will help to resolve quicker
fenwickr
9 years agoOccasional Contributor
- nmrao9 years agoChampion Level 3Java code should exactly work in Groovy, try it out.
- fenwickr9 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")