| || |
Automation Test tool for flex applications
Anyone can help me finding the best Open source tool to test a flex application?
Your response will be appreciated.
I haven't encountered many 'open' open source solutions for flex. There is this one, https://code.google.com/p/flex-ui-selenium/, but I found it lacking when I evaluated it 3 years ago, which lead me to implement my own solution for a previous employer. (#3 option)
Adobe however does provide an API, for automating flex applications. Flex 3 - Adobe Flex 3 Help
How you can use these apis to automate, you do do the following:
1) Consume the API directly in an integration level test. These are tests you write in ActionScript unit tests, and will load your Flex application directly into your test and from there you can use Adobe's automation API.
2) Write a plugin (or download a plugin) for whatever testing tool you're using. If your automated testing tool have a plugin support, you can just implement the interfaces of the plugin, and map them into calls to Adobe's automation API. (This solution is harder to implement on your own, but for tools that support 3rd party plugins, you might find a nice market place for plugins that support flex)
Open source tools are really difficult to find for Flex applications in particular. If you are looking for large Flex apps with some custom components too, such as the ones by MicroStrategy and all, even general testing tools are difficult to use.