简体   繁体   中英

Automated testing of FLEX based applications

What tools, preferably open source, are recommended for driving an automated test suite on a FLEX based web application? The same tool also having built in capabilities to drive Web Services would be nice.

Adobe自己分发测试框架: FlexUnit

Are you looking to script code-level unit tests? If so, dpuint is the bomb: http://code.google.com/p/dpuint/ . This library makes it really easy to do automated testing on all sorts of asynchronous events, on either non-visual ActionScript objects or visual components. They also have a nice multi-page tutorial on the Google Code project page.

If you are looking for functional testing tools along the lines of automated record-and-playback simulating an end user using a Flex app, HP's QuickTest Pro is the Adobe-endorsed solution. It works great, but costs about $4,000 - $6,000 per seat.

Check out FlexMonkey . It does automated testing via FlexUnit tests.

I heard of people using selenium as a free/open source testing tool. A quick google revealed a FLEX API for it. Not sure if it works or is still in development, but it may be worth a look.

http://sourceforge.net/projects/seleniumflexapi/

I've been extensively using FunFX for several months now on a Flex 3 + Rails project. Not only is it open source, it's also written in Ruby, so integration with web services should be fairly easy. There are a few screen casts out there covering the basics.

Sikuli is good tool which can be used to test flex/flash based web applications. -It can automate anything on graphical user interface. -It works on Windows, MAC OSX and Linux as well as iPhone and Android. -Here is the Sikuli link

Try looking at Melomel. It has Cucumber support baked right in and comes packaged with steps for most Halo and Spark components.

http://melomel.info

The Flex code that your Flex app needs is contained in the SeleniumFlexAPI distribution .swc file, SeleniumFlexAPI.swc. Just include this file as a library when you compile your Flex app.

There's an automated test tool called RIATest that might fit the bill for you.

Unfortunately only for Windows, and not open source, but if it does the job it might be well worth the price ($399 at time of writing).

FunFX is an option for automating UI testing. I haven't used it extensively, but I've heard of some having success with it. Here is the article where I first learned about it.

My preferred tool is Selenium Remote Control. There is a plug-in I discovered a few months ago:

http://code.google.com/p/flash-selenium/

This required 'hooks' to be written on the server side (ActionScript/Flex). Once they were added, I was able to do some browser testing using Selenium RC.

FunFX is great. We've used it extensively and have been very happy with it. The community is also active and very responsive, so that is a big plus for me.

新版本的Selenium-Flex API(0.2.5)效果很好。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM