Flex: Test the UI components at the level level?

I have been studying Flex components and I want to write some automated tests for it. The trouble is that the UI testing tools I have seen (FlexMonkey and Selenium Flex API) did not simulate “enough” :

Most of the errors that have occurred so far are related to the way Flex handles drag and drop, which cannot be accurately simulated by these libraries. For example, I need to test a “drop” event in the lower part of a component Situation-Neither FlexMonkey nor Selenium Flex API can do this (they may simulate mouse events, but they will not contain coordinates).

So, is there any “good” way to automate this kind of testing ?

Edit: After a lot of research, it looks like the only software that can do this is iMacros, it’s only Windows, and the interface is… lacking. So I’m going to write my own. Basically, it will be in An HTTP interface is placed on java.awt.Robot, so the code (in any language) can simulate mouse/keyboard events. If you are interested, PM me and I will tell you to update.

Edit 2: I On BitBucket: http://bitbucket.org/wolever/blunderbuss/ released the first version of the framework I wrote, Blunderbuss. You need Jython to run it (http://www.jython.org/), but after The flex-client example should be able to run.

Blunderbuss video live on Vimeo:

> Automating Flex testing with Blunderbuss
> Blunderbuss test suite running

Currently this is still a proof of concept, because I don’t have a cycle to clean it up and make it more useful…but maybe enough people to bother me will give me that time:)

I have used Eggplant to test Flash and AIR applications without adding any hooks in the code. This is a great tool, but it is very expensive .It enters the system via VNC to simulate real users and uses image recognition – and other aspects – to interact with the application.

I have been studying Flex components and I want to write some automation for it Testing. The trouble is that the UI testing tools I have seen (FlexMonkey and Selenium Flex API) did not simulate “enough”:

Most of the errors that have occurred so far have been handled with Flex These libraries cannot simulate accurately. For example, I need to test a “drop” event in the lower part of a component-neither FlexMonkey nor Selenium Flex API can do this (they may simulate mouse events, but they will not contain Coordinates).

So, is there any “good” way to automate this kind of testing?

Edit: After a lot of research, it looks like the only software that can do this is iMacros, it’s only Windows, and the interface is… lacking. So I’m going to write my own. Basically, it will be in An HTTP interface is placed on java.awt.Robot, so the code (in any language) can simulate mouse/keyboard events. If you are interested, PM me and I will tell you to update.

Edit 2: I On BitBucket: http://bitbucket.org/wolever/blunderbuss/ released the first version of the framework I wrote, Blunderbuss. You need Jython to run it (http://www.jython.org/), but after The flex-client example should be able to run.

Blunderbuss video live on Vimeo:

> Automating Flex testing with Blunderbuss
> Blunderbuss test suite running

This is still a proof of concept, because I don’t have a cycle to clean it up and make it more useful…but maybe enough people to bother me will give me that time:)

p>

I have used Eggplant to test Flash and AIR applications without adding any hooks in the code. This is a great tool, but it is very expensive. It enters the system through VNC to simulate real users and uses Image recognition-and other aspects-interact with the application.

Leave a Comment

Your email address will not be published.