Author: Li wenzhi
I believe many people know the Flex unit testing tool, FlexUnit or ASUnit, but few people may know about the UI testing tool. The answer to the current FlexUI testing tool is FlexMonkey.
FlexMonkey is a testing framework for Flex applications. It can capture, play back, and confirm Flex UI functions. FlexMonkey can record and play back the interaction process of Flex UI, and generate a test script based on Actionscript, which is easy to be incorporated into the continuous integration process. He used the Flex Automation API and developed it by extending Adobe's sample Automation adapter AutoQuick.
The framework features:
- Record and play back the Flex UI interaction process;
- UI interaction can be edited and resumed;
- Generate FlexUnit test cases and can be used in non-FlexUnit-based testing frameworks;
- Tests can be run using a build system such as ANT;
- Handles all Flex UI events;
- Use the Flex Automation API to provide native Flex application control, without the need for javascript or other browser plug-ins;
- Unit Tests can all be written in AS, without the need for other programming languages or special scripting languages to develop a comprehensive UI test suite;
- Non-intrusive, do not modify your application source code;
For more information about the framework, see the GoogleCode address of the project. If you need technical support, visit the official website of the project. The Flex community also commented on the Framework well, this article makes a preliminary evaluation of the framework and gives its own conclusions.
From:RIAMEETING