views:

2115

answers:

4

I have an actionscript 2 application that I'd like to write automated UI testing for. For example I'd like to simulate a mouse click on a button and validate that a movie-clip is displayed at the right position and in the right color... Basically, UI testing. What are the best tools available or what is the desired approach? In JavaScript there is the selenium framework which does a nice job. Any similar tool for flash?

+1  A: 

This may be of use

Flash UI testing

Dean
Unfortunately most of the links on the page you referred to are broken :-(Reading the doc, however this doesn't look like the ideal solution for me. I'm looking for a way to test UI but with no manual procedure involved. Just write (ideally AS) code that tests UI
Ran
A: 

Another way is to use any HTML/JS autotesting tool and provide a JS api to your Flash app - at least, you can always expose functions like 'locate smth by id', 'click smth by id', 'enter some text into smth by id' or whatever.

Michael Pliskin
+1  A: 

Ranorex might be interesting for. You can capture/replay your UI tests, edit your actions and generate C#, VB.NET and IronPython code.

Automated UI Testing of Flash/Flex Applications with Ranorex

gherget
A: 

Try http://SauceLabs.com - they've got a Flash and Flex testing tool

Steve