Agile Zone is brought to you in partnership with:

James Ward is a Pricipal Developer Evangelist at Today he focuses on teaching developers about running Java on the Cloud. James frequently presents at conferences around the world such as JavaOne, Devoxx, and many other Java get-togethers. Along with Bruce Eckel, James co-authored First Steps in Flex. He has also published numerous screencasts, blogs, and technical articles. Starting with Pascal and Assembly in the 80′s, James found his passion for writing code. Beginning in the 90′s he began doing web development with HTML, Perl/CGI, then Java. After building a Flex and Java based customer service portal in 2004 for Pillar Data Systems he became a Technical Evangelist for Flex at Adobe. You can find him tweeting as @_JamesWard, answering questions on and posting code at James has posted 20 posts at DZone. You can read more from them at their website. View Full User Profile

Testing Flex Apps with FlexMonkey Reloaded

  • submit to reddit

Whether or not you use a tool to test your Flex apps, you are repeatedly testing your application. Doing this by hand is a pain: start the app, click through some stuff, verify the result is what you expected, makes some changes to your code and then do it all again. The open source FlexMonkey tool automates that process so you don’t have to keep doing those steps manually. FlexMonkey works with Flex applications that run in the browser (Flash Player) as well as on the desktop (Adobe AIR). Jon Rose has just finished a complete overhaul of FlexMonkey that makes automating your Flex testing process uber-simple and much more robust than the previous version.

Jon and I have created some resources to help get you started using FlexMonkey. Start by reading the Introduction to Flex and AIR Testing with FlexMonkey. Then check out a short screencast I did that walks through the FlexMonkey basics:

To continue learning check out a series of videos from Jon that will give you a more in-depth look at each piece of FlexMonkey:

Now enjoy being more productive as you automate the testing process you do hundreds of times a day, leaving more time for Angry Birds! Let me know what you think.

Published at DZone with permission of its author, James Ward. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


Shumona Kapil replied on Sun, 2012/02/19 - 10:27am


Great Work. But how to go about automating custom components. We are in the process of automating our app, but we are not able to automate few actions, and most of them are custom components. As far as i know, we have to override some functions in order to support automation on custom components. It would be really great if you could provide us some light on this or may be some link to examples or tutorials.

Surendhar Natarajan replied on Thu, 2014/04/10 - 5:53am

 Hi James,

  I have gone through video FlexMonkey Reloaded: Getting Setup. Here, i don't have an idea how to add flex monkey properties file and their configuration to adobe air project.

I have followed the link is, which is given instruction to follow the basic setup.But i am struggling to create sample adobe air project for automation testing. Can you please suggest how to make very basic sample adobe air project with integrate of flex monkey.

Thanks in advance.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.