BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

RIATest for Flex Released Beta Product

| by Moxie Zhang Follow 0 Followers on Mar 11, 2008. Estimated reading time: 1 minute |

RIATest, a Flex GUI test automation tool released the beta product to public. InfoQ spoke to Tigran Najaryan, the founder and creator of RIATest, about this release.

Najaryan started with why RIATest was created:

RIATest is a GUI test automation tool for Adobe Flex 3 applications. RIATest is created to serve as simple, clean test automation solution for businesses and professional developers who are serious about quality assurance of their products. We are dedicated to aggressive pricing in order to bring test automation to large number of Flex users who were previously unable to afford other Flex test automation solutions available.

On how RIATest works, Najaryan explained:

Technically RIATest is composed of two parts: Agent and IDE (or command line Runner). Agent sits in browser-side of things and talks directly with the Application Under Test. Agent provides Component Inspector which allows to inspect and watch application GUI components and their properties. Agent also connects via TCP connection to IDE. Agent and IDE communicate over this connections during playback (IDE sends instructions to Agent and receives results) and recording (Agent notifies IDE about recorded actions).

Test scripts are written in RIAScript language. RIAScript is a simplified version of ActionScript (with a few minor extensions) - this makes it easy for developers familiar with ActionScript to write test scripts in RIATest.

How RIATest is developed? Najaryan went on:

I can say that RIATest is designed from day one to be a Flex 3 test automation tool and uses test automation framework available in Flex.  RIATest IDE is written in C++ using wxWidgets library. RIATest Agent is developed in Flex 3.

Since there are other test tools available, infoQ asked Najaryan to compare RIATest to tools such as FlexUnit:

RIATest being a GUI test automation tool is a companion to other testing approaches such as unit testing. Naturally best quality assurance results are achieved when several different approaches for test automation are employed, including GUI automated testing and unit testing.

On testing connectivity such as HTTP request and SOAP connection:

Having built-in facility to synchronize automatically or manually on specific conditions RIATest is fully capable of automating applications that communicate with remote data sources. The 'waitfor' operator allows QA engineer to synchronize operation of test script with desirable state of components of Application Under Test.

In the end, Najaryan provided a code example to show what the test script looks like:

RIATest Script

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

FunFX by Aslak Hellesøy

It's great to see more functional testing tools for Flex. There is also a similar tool - FunFX. It would be interesting to see a comparison of the two. I know that FunFX has an uncommitted patch that makes it work on OS X too. Does anyone know how far RIATest is from supporting OS X?

Re: FunFX by Tigran Najaryan

We are currently looking at the OS X options. It is likely that we will introduce an OS X test runner in the near future (with tests created using RIATest IDE under Windows). Full-featured RIATest IDE for OS X is not impossible either. We invite parties interested in OS X version to let us know about it (use this link: riatest.com/feature-request.html)

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT