8

Testing Flex Applications?

Posted April 7th, 2008. Filed under Code

We are exploring using Flex more (goodbye Powerbuilder!) here at work. We are also doing more and more testing and hope to eventually implement continuous integration.

I’ve seen a few tools to unit test Flex but I’m curious how you test Flex at the application level? For our web applications we are currently using Selenium.

Is there something similar for Flex?

Possibly Related:

If you have enjoyed this entry. Please feel free to bookmark it using your favorite social bookmarking site

8 Responses so far

  1. andras says:

    I also need to dig for information about that.
    i’ve read about a new tool from borland just today :
    http://www.borland.com/us/prod.....ndex.html#
    http://www.borland.com/us/prod.....index.html

    also there is a project called VFU:
    http://code.google.com/p/visua.....e/checkout

    and this blog post is maybe a good point to start:
    http://life.neophi.com/danielr.....th_fl.html

    and at last i’ve found a non-free tool for visual testing:
    http://riatest.com/screenshots.html

    Best,
    Andrew

  2. Jim says:

    David – I had bookmarked FlexUnit already – but had assumed it was mainly for unit testing? Will it do tests at the application level also (similar to Selenium?)

    Andra – looks like some promising links! I had seen Silk before but I have heard it is very expensive.

  3. David Buhler says:

    Hi Jim,

    On CF/Flex projects, I’ll usually do the following:

    I’ll use Service Capture to record a bare-minimum call to my CFC (only the bare minimum fields complete with mimimum data).

    I’ll use Service Capture and capture a comprehensive call to my CFC (every field completed with maximum data).

    Then, I’ll take that data and create my unit test in CF with same mock data.

    To Debug:
    On the client, I’ll add try/catch statements to every method, and throw an exception.

    In CF, I’ll generate a PDF on each exception or error.

    For me, this has been the best way to test and debug Flex Applications.

    hth

  4. arpit says:

    I have been meaning to try this but havent gotten into it yet, but you can use selenium combined with the flex-ajax bridge. The latter exposes the Flex DOM from what I hear.

  5. ekz says:

    Have you considered using QTP, with the flex QTP plugin?
    Some ‘getting started’ info can be found here: http://www.adobe.com/support/d.....ll.html#at

  6. iamcoder says:

    Hi,

    I found this blog post very useful for flex testing tool. check out the following blog

    http://www.rsdhariwal.com/2009.....plication/

    http://www.rsdhariwal.com/2009.....n-testing/

    I hope it helps.

Leave a Comment