Filed Under (AIR, ActionScript, Flex, FlexMonkey, RIA) by jonr on September-21-2008

The current state of the Flex eco-system continues to remind me of Java in the mid-to-late-1990’s.  Overall, it is at such an exciting place.  At the same time it can be frustrating, as some of the immaturities can really make it challenging to build quality applications.  However, even that can bring more excitement, as it really just means more opportunities to contribute.  And, I am ecstatic that Gorilla Logic is now finding ways to do that!

A couple of months ago, I blogged about the state of Flex, including a post on the state of testing tools.  We never did find a tool that satisfied our needs.  So, Gorilla Logic (mostly Stu Stern) finally built one, and open sourced it!   The new project is called: FlexMonkey.

Here is an overview of FlexMonkey’s features:

  • Non-invasive. Requires no modifications to your application source.
  • Records and plays back Flex UI interactions.
  • UI Interactions can be edited and replayed.
  • Generates FlexUnit TestCases.
  • Integrated with FlexUnit.
  • Handles all Flex UI events.
  • Uses Flex Automation API to provide native control over your flex app. Requires no javascript or browser plug-ins to use.
  • Unit tests are written entirely in ActionScript. No other programming or special purpose scripting languages are needed to develop comprehensive UI test suites.

Check out the tutorial: http://code.google.com/p/flexmonkey/wiki/QuickTutorial

You can also check out an example application compiled with Flex Monkey: http://keystone.gorillalogic.com/~sstern/MonkeyContacts.html#.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • DZone
  • Digg
  • del.icio.us
  • Reddit
  • Facebook
  • LinkedIn

Comments:
Borek on September 22nd, 2008 at 12:46 am #

Wow, this tool looks awesome. Many thanks for making it open source!

Simon Gladman on September 22nd, 2008 at 3:28 am #

Lovely product name :)

Kieran Shaw on September 22nd, 2008 at 6:44 am #

Hi Jon,

That looks great, we’ve just started getting into testing in Flex and I can’t wait to give this a try to see how it works. We’ve recently written a bit about our experiences with both unit testing in Flex and acceptance testing with selenium for flex.

http://www.blackpepper.co.uk/black-pepper-blog/Flex-acceptance-testing-and-continuous-integration.html

http://www.blackpepper.co.uk/black-pepper-blog/Flex-unit-testing-and-continuous-integration.html

Curtis Rose on September 24th, 2008 at 6:13 pm #

Sounds exciting! Looking forward to seeing if it can gain some good traction in the Flex community.

[...] Update 9/10/2008: Since this post, my company has launched a new Flex testing tool called FlexMonkey.  Read More about it here: http://ectropic.com/wordpress/?p=50. [...]

[...] Flex Monkey: Open Source Record/Play Back Testing Tool [...]

san on February 26th, 2009 at 11:14 pm #

Hi i hav been implementing the flex monkey in a application but i cant use asserts as per my requirements any one please do guide me.

jonr on February 28th, 2009 at 5:52 pm #

I would suggest email the google group with questions …

Post a comment
Name: 
Email: 
URL: 
Comments: