Welcome to FlexMonkey
(Image courtesy of Joey Shipley)
FlexMonkey is a unit testing framework for Flex apps that provides for automating the testing of Flex UI functionality. FlexMonkey can record and play back Flex UI interactions, and generates ActionScript-based testing scripts that can easily be included within a continuous integration process. It uses the Flex Automation API and was created by adapting Adobe's sample application, AutoQuick.
See the Getting Started Guide for a quick overview of installing, recording, and running tests with FlexMonkey.
FlexMonkey has been donated to the Flex community by Gorilla Logic, who developed FlexMonkey because of their belief that only a monkey would develop code without being able to automate their unit testing.
Try It!
Launch this simple sample app (the Monkey Contact Manager), and record and playback UI interactions with FlexMonkey. To see it run a FlexUnit test, click the Run button on the FlexUnit Runner tab.
Join the Community
http://groups.google.com/group/flexmonkey
Features
- 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.
- Non-invasive. Requires no modifications to your application source.
Screen Shot
Here's an example of FlexMonkey recording events from a Contact Manager app.
Other Open Source Flex Testing Tools
Other Flex testing frameworks out there you might find interesting:
FlexUnit provides an xUnit-style framework for managing tests, but doesn't provide any direct support for UI testing. FlexMonkey actually relies on FlexUnit for its TestRunner, making it easy to add FlexMonkey tests to your existing test suite if you're already using FlexUnit. (If you're not already using FlexUnit, don't tell anybody).
Selenium-Flex is similar to FlexMonkey, but relies on browser plug-ins and the Selenium scripting language. FlexMonkey test scripts are 100% ActionScript.
FunFx provides no recording tool and uses Ruby as its scripting language.
