Now, I don't think you can use Evaluate to evaluate a function, only an object. However, if you want do do a function call, you can do something like this.
Result := ODT.Classes.New('eGalaxyMessage');
Result := Runner.CallMethod('ODT' + aMessageType + 'Message.AddObjectSpecificProperties', Result);
Hope this helps!
P.S. Hi, gang! I'm back... been away too long...
Robert Martin [Hall of Fame] Please consider giving a Kudo if I write good stuff ----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.