I will definitely try that.
Thanks Tony

On Thu, Jul 30, 2009 at 5:03 PM, Tony <ynot...@gmail.com> wrote:

>
> Hi Adrian,
>
> You could add another method to the element.rb file in watir (below
> fire_event method) -
>
>    def fire_event_no_wait(event)
>      assert_enabled
>
>      highlight(:set)
>      object = "#{self.class}.new(self, :unique_number, #
> {self.unique_number})"
>      @page_container.eval_in_spawned_process(object + ".fire_event(\"#
> {event}\")")
>      highlight(:clear)
>    end
>
> Now you can call fire_events without waiting ...
> button.fire_event_no_wait("onmousedown")
>
> Thanks,
> Tony
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to