No action whatsoever.

On Tue, Aug 25, 2009 at 12:13 PM, Dylan <[email protected]> wrote:

>
> More details are probably required. What action is performed instead,
> for instance?
>
> On Aug 25, 12:51 am, Adrian Ghidu <[email protected]> wrote:
> > Sorry for the late reply, but the fire_event_no_wait method is not
> working:
> > the expected action is not performed.
> > Thanks
> >
> > On Thu, Jul 30, 2009 at 5:26 PM, Adrian Ghidu <[email protected]> wrote:
> > > I will definitely try that.
> > > Thanks Tony
> >
> > > On Thu, Jul 30, 2009 at 5:03 PM, Tony <[email protected]> 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 [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to