View
4.160
Download
2
Tags:
Embed Size (px)
DESCRIPTION
UI Interaction Testing with Flex Monkey, presented in the community track of RIAction.sg an Rich Internet Action conference conducted in Singapore in 2009
Citation preview
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Only monkeys would develop code without being able to automate their testing.
- Gorilla Logic
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
What is FlexMonkey?
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
What is FlexMonkey?
FlexMonkey is a testing framework for Flex applications
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Why do we need Testing?
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Why do we need Testing?
• Because software errors cost lot of money
• Cost of fixing the errors multiplies when the errors are found after the release
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
How do we do Testing?
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
How do we do Testing?
• Manual•Cheaper at start
• Automated•Cheaper in the long run
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Types of Automated Testing
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Types of Automated Testing
• Unit
• Integration
• Functional
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Where does FlexMonkey fit in?
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Where does FlexMonkey fit in?
Captures tests like a functional tool, but scripts those tests within FlexUnit, a unit testing framework for Flex
Free & Open source
Built on Adobe Flex Automated Testing API which is bundled with Flex Builder Pro
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
Features Records and plays back Flex UI interactions
UI Interactions can be edited and replayed
Generates FlexUnit TestCases, and can also be used with non-FlexUnit-based testing frameworks
Tests can be run from build systems such as Ant
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
* Twitter: ArulKumaran * Blog: shockwave-india.com/blog *
http://code.google.com/p/flexmonkey/