I am able to create java class under com.mega.test.
I want to create mega macro which calls a method in test class passing mega root and object as parameter. I created mega macro defining package name and class name. My method in class is testjavacall . I was not able to call java method from mega macro. I tried GetRoot.CurrentEnvironment.getMacro("test").testjavacall GetRoot, <object> .
I am not able to find the right syntax i tried from metacommond it works but i need to call it from a mega macro.
Could you please help if any one has solution.
Thanks for your support.