mouse_move not firing and mouse_down missing
-
Darren Bishop
Ok so completely hacked together a solution for this.
Firstly I modified elements.rb, element.rb and firewatir.rb adding a fire_event_ext call-chain that results in a new method being called on the ExternalInterface.
Then I implemented AutomationHelper.as in funfx-extension.swc that adds fireFunFxEventExt method to the ExternalInterface. This by large rips of most of the default funfx procedure i.e. locating the target component and constructing the event with all properties populated.
The difference is the event gets dispatched directly on that target, rather than going through the rest of the Automation procedure.
This works a treat and is no inconvenience to me over the way it must be used: funfx-extension.swc compiles in funfx.swc so the this dependency can be dropped in favour of funfx-extension.swc (still with internal scope).
If anyone is interested in the details i.e. the code, please leave a comment.
Team: I would always prefer a first class solution to something like this. I appreciated some insight into why these events are not dispatching with the standard funfx?
Darren
-
Darren Bishop
- Assigned user set to Peter Nicolai Motzfeldt
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.