tags:

views:

65

answers:

2

flashwatir appears to be dead.

is there anyway I can interact with objects in flash apps ? like clicking button and such from a gui-less linux server ?

like

flashapp.button.click("flash button")
puts flashapp.button.text # returns the text label of flash button
+2  A: 

We've been using RiaTest http://www.riatest.com/ , and FlexMonkey http://code.google.com/p/flexmonkey/

(with various levels of success... we always got into some troubles in very specific cases).

However, for Flex like for any kind of GUI, I would suggest you try designing your code so that you can use pure flexunit tests to check most of your logic, before you go into "functionnal" testing in the browser.

Most of the time, I don't want to check that clicking on a button calls a function ; what I want is to test that the function works.

Hoping this helps.

phtrivier
i need a solution that runs on linux server. will any of those work on a gui-less environment.
wpiri
FlexUnit as a way to launch FlexUnit test with ant : http://www.blackpepper.co.uk/black-pepper-blog/Flex-unit-testing-and-continuous-integration.html . And you might use something like xvfb to launch firefox on the server ... http://semicomplete.com/blog/geekery/xvfb-firefox.html ... good luck in all cases !
phtrivier
A: 

Another alternative is to use Selenium with the Flash-Selenium extension - disclaimer, I haven't personally used this.

gareth_bowles