InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

RIATest for Flex Released Beta Product

Posted by Moxie Zhang on Mar 11, 2008

Sections
Development
Topics
Rich Internet Apps ,
Java
Tags
Flex ,
Testing

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

FunFX by Aslak Hellesøy Posted
Re: FunFX by Tigran Najaryan Posted
  1. Back to top

    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?

  2. Back to top

    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)

Educational Content

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.