Welcome!

Adobe Flex Authors: Elizabeth White, David Smith, RealWire News Distribution, Shelly Palmer, Roberto Marinello

Related Topics: Adobe Flex, Open Source

Adobe Flex: Article

Functional Testing of Flex RIA with FlexMonkey 4

An open source solutions for automating testing Flex RIA

There are three main types of testing of any application:

  1. Unit testing, where you test small pieces of functionality
  2. Functional and user-acceptance testing where developers, QA engineers and the end user can ensure that the application does what it’s expected to do
  3. Load (or stress) testing, when you ensure that the server can process requests of the specified number of users

Rich Internet applications are no different when it comes to testing.  While the load testing software is not cheap, there are affordable solutions for Flex applications that you need to know about.

Flash Builder 4 integrates nicely with FLexUnit4 and I highly encourage you not to ignore the unit testing. Just use it.

Your functional testing needs can be completely covered by the open sourced product FlexMonkey 4, created by Flex professionals from Gorilla Logic.

They also have a FlexMonkium, which is a Selenium IDE plugin that  that adds FlexMonkey recording and playback to Selenium. With FlexMonkium, Flex recording and playback is seamlessly interleaved with native Selenium recording and playback so you can easily automate the testing of applications that mix html and Flex components. In addition to creating and running Flex tests in the Selenium IDE, you can export your scripts as JUnit tests that run with Selenium-RC.

I'd like to offer you an audio recording (MP3) of my conversation with Stu Stern from Gorilla Logic about the unit and functional testing of RIA in general and FlexMonkey4 in particular.

More Stories By Yakov Fain

Yakov Fain is a Managing Director of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Yakov co-athored the O'Reilly book "Enterprise Application Development with Flex". He twits at twitter.com/yfain.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.