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?
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
2008-09-24 13:50:48
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
2008-09-28 20:59:03
+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
2009-08-04 12:57:14