Sorry, I just noticed that you are using Widget. Because Java or
Groovy does not support multiple inheritance or Mixin (like Ruby) yet,
I had to duplicate a lot of methods from BaseDslContext into the
Widget object. Apparently, I forget to update these methods for the
events. As a result, the correct way would be to update the method
such as check

    def check(String uid){
        WorkflowContext context = WorkflowContext.getDefaultContext()
        ui.walkTo(context, uid)?.check(){ loc ->
            String locator = locatorMapping(context, loc)
            eventHandler.check(locator)
        }
    }

to the following similar to the one in BaseDslContext

    def check(String uid){
        WorkflowContext context = WorkflowContext.getDefaultContext()
        ui.walkTo(context, uid)?.check(){ loc, String[] events ->
            String locator = locatorMapping(context, loc)
            eventHandler.check(locator, events)
        }
    }

I will open an issue and check in the fix soon.

Thanks,

Jian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to