Hi
I find that some of my code is looking like the following
public myModule extends DslContext {
defineUi() {
ui.UrlLink(uid:"xxx", clocator[id:"xxx"]);
}
public boolean clickXXX() {
xxx.click();
return true;
}
}
and I invoke this as myModule.clickXXX .
I want to avoid having to write a method clickXXX .
Initially I was using methodMissing which did not work with groovy 1.5.7 .
John assured me that it works with 1.6.0 .
Is there any better way to write / handle such code ?
Regards
Hari
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---