Sep 19
FunFX – A Ruby based automated testing framework for Flex
During the development of a large-scale (or even a medium-scale) Flex application it is very likely that you will quickly reach a point where manually testing your interface becomes impractical. This is where Flex’s automation framework comes into play. It makes it possible to simulate user level interactions in your Flex interfaces. So, you can write a script that performs a series of interactions (e.g., click this button, fill out this form, click here, click there, and so on) and then automatically run that script, and any others, with the rest of your tests. Pretty nice, right? Well, there is one potential problem; until recently there was only one existing solution that worked with Flex’s automation framework, and it is pretty expensive. Fortunately, there is now another option.
FunFX is a free, open source framework, developed by Peter Motzfeldt, that makes it possible to take advantage of Flex’s automation framework using test scripts written in Ruby. It is still relatively early in its development, but as you can see in this tutorial video, it already has some pretty impressive functionality. FunFX is packaged as a Ruby gem. I was unable to install it via the normal gem install route, so for now it looks like you’ll have to download it from here and do a local install.
CREDITS:
I came across this gem via Aslak Hellesoy’s blog (who, incidentally, just gave a well received tutorial on using Flex and Rails at RailsConf Europe).

September 19th, 2007 at 3:22 pm
That’s awesome! I’ll check that out now.
September 29th, 2007 at 5:17 pm
Hi Derek,
I actually had a question about your Image Converter App…
I couldn’t find your contact info, so using bad form, I am posting in the comments section.
Just wanted to know how you were able to use FileFilter correctly. I am using Flash CS3 and cannot get the FileFilter package to load correctly. I tried all combinations of building to flash8/flash9 with AS2/AS3
I am using the source from http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/, which is where i saw your post.
Thanks!
September 29th, 2007 at 6:15 pm
Hi Jeff,
No problem. If you go to this post: http://flexonrails.net/?p=30 you can download the source for the image converter to see how I implemented the FileFilter. It should be pretty straight-forward.
If you have any additional questions then please feel free to email me at dwischusen [at] gmail [dot] com
November 23rd, 2007 at 1:59 pm
[...] An interesting post by Derek Wischusen about this subject can be found here. [...]
March 7th, 2008 at 4:22 pm
i create mxml file vand taking data from rxml pages which r in rails.
how to run application on server