2008-07-26

Flex automated testing tools improving

When Flex first came onto the scene back in 2004, we loved it but something was missing. How do we test our applications? There were no real solutions at the time, but with the release of Flex 2 (in 2006) we were given FlexUnit (similar to JUnit in the Java world) and also QuickTest Pro (QTP) added support for web applications built in Flex. With QTP would record actions and then play them back and set checkpoints along the way. I've used QTP, but it is not as user-friendly as I would want it to be, so I've been looking and waiting to see what other testing applications would pop up.
And recently I've discovered two other solutions, so perhaps you will want to take a look as well.

Selenium
This testing tool has been around for while and is used for testing traditional web applications. But recently an add-on has been created to support the testing of Flex applications as well. You can get the add-on here.

RIATest
This is perhaps my favorite so far. It was built specifically for testing Flex (and AIR) applications, its scripting language is easy to understand and you don't need to compile your application in any special way for it work (unlike QTP). I'm just waiting for the next release before using it on my own applications, cause I'm waiting for certain bugs to be fixed.

So obviously the automated testing tool support for Flex is definitly improving, I've also heard that SilkTest will be supporting Flex in the future as well.

What do you guys use?

11 comments:

Stu said...

Gorilla Logic has just open sourced FlexMonkey, a Flex testing tool.

Here are some highlights:

* Records and plays back Flex UI interactions
* UI Interactions can be edited and replayed
* Generates FlexUnit TestCases.
* Integrated with FlexUnit.
* Handles all Flex UI events
* Uses Flex Automation API to provide native control over your flex app. Requires no javascript or browser plug-ins to use.
* Unit tests are written entirely in ActionScript. No other programming or special purpose scripting languages are needed to develop comprehensive UI test suites.
* Non-invasive. Requires no modifications to your application source.

Check it out at at http://flexmonkey.googlecode.com.

Andriy said...

I have tried to use RIATest for my project.

Exception has been raised immediately after luanching application. What is the cause could be?

ArgumentError: Undefined state 'StartState'.
at mx.core::UIComponent/getState()
at mx.core::UIComponent/findCommonBaseState()
at mx.core::UIComponent/commitCurrentState()
at mx.core::UIComponent/setCurrentState()
at mx.core::UIComponent/set currentState()
at dk.mmba.digiform.command::StateChangeCommand/execute()
at com.adobe.cairngorm.control::FrontController/executeCommand()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.cairngorm.control::CairngormEventDispatcher/dispatchEvent()
at client/onCreationComplete()
at client/___client_Application1_creationComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

Anonymous said...

酒店打工

酒店兼職

台北酒店

打工兼差

酒店工作

酒店經紀

禮服店

酒店兼差

酒店上班

酒店PT

酒店

酒店喝酒

酒店消費

喝花酒

粉味

酒店上班請找艾葳 said...

艾葳酒店經紀公司提供專業的酒店經紀, 酒店上班小姐,八大行業,酒店兼職,傳播妹,或者想要打工兼差打工,兼差,八大行業,酒店兼職,想去酒店上班, 日式酒店,便服店,制服酒店,ktv酒店,禮服店,整天穿得水水漂漂的,還是想去制服店日領上班小姐,水水們如果想要擁有打工工作、晚上兼差工作兼差打工假日兼職兼職工作酒店兼差兼差打工兼差日領工作晚上兼差工作酒店工作酒店上班酒店打工兼職兼差兼差工作酒店上班等,想了解酒店相關工作特種行業內容,想兼職工作日領假日兼職兼差打工、或晚班兼職想擁有鋼琴酒吧又有保障的工作嗎???又可以現領請找專業又有保障的艾葳酒店經紀公司!

艾葳酒店經紀是合法的公司工作環境高雅時尚,無業績壓力,無脫秀無喝酒壓力,高層次會員制客源,工作輕鬆,可日領現領
一般的酒店經紀只會在水水們第一次上班和領薪水時出現而已,對水水們的上班安全一點保障都沒有!艾葳酒店經紀公司的水水們上班時全程媽咪作陪,不需擔心!只提供最優質的酒店上班,酒店上班,酒店打工環境、上班條件給水水們。心動嗎!? 趕快來填寫你的酒店上班履歷表

水水們妳有缺現領、想要兼職、有缺錢的煩腦嗎?想到日本留學缺錢嗎?妳是傳播妹??想要擁有高時薪又輕鬆的賺錢,酒店和,假日打工,假日兼職賺錢的機會嗎??想實現夢想卻又缺錢沒錢嗎!??
艾葳酒店台北酒店經紀招兵買馬!!徵專業的酒店打工,想要去酒店的水水,想要短期日領,酒店日領,禮服酒店,制服店,酒店經紀,ktv酒店,便服店,酒店工作,禮服店,酒店小姐,酒店經紀人,
等相關服務 幫您快速的實現您的夢想~!!

John said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
Automation Testing

Anonymous said...

酒店打工 酒店兼職
台北酒店 打工兼差 酒店工作 禮服酒店
酒店兼差 酒店上班 酒店應徵 酒店 酒店經紀

Anonymous said...

What's up to every single one, it's genuinely a pleasant for
me to pay a quick visit this website, it consists of important Information.


My homepage :: SEO Friendly Back Links

Anonymous said...

Today, I went to the beachfront with my kids. I found a sea shell and gave it to my
4 year old daughter and said "You can hear the ocean if you put this to your ear." She
put the shell to her ear and screamed. There was a hermit crab inside and it
pinched her ear. She never wants to go back!
LoL I know this is completely off topic but I had to tell someone!


Also visit my blog: payday loans no credit check direct lender

Anonymous said...

hey there and thank you for your information – I've definitely picked up something new from right here. I did however expertise some technical issues using this site, as I experienced to reload the website a lot of times previous to I could get it to load correctly. I had been wondering if your hosting is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and can damage your high-quality score if advertising and marketing with Adwords. Anyway I'm adding this RSS to
my email and could look out for much more of your respective fascinating content.
Make sure you update this again soon.

Feel free to visit my web-site - bodybuilding diet

Anonymous said...

I seldom leave comments, but I read some of the responses here "Flex automated testing tools improving".

I do have some questions for you if you do not mind.
Is it simply me or does it look as if like some of the remarks look like
they are left by brain dead people? :-P And, if you are posting on additional places,
I would like to follow anything new you have to post. Would you list of all
of all your shared sites like your linkedin profile, Facebook page
or twitter feed?

my web site :: hair loss prevention in women

Anonymous said...

I every time used to study post in news papers but now
as I am a user of net thus from now I am using net for articles, thanks to web.


Here is my webpage :: adult webcams