flexTesting

Description

This extension shows how to test Flash/Flex components using Selenium and the ExternalInterface (Flash 8 and above).
It comes with a sample Flex component, which source code is provided (mxml file + test API using ExternalInterface).

Example of use

Refer to the sample test page (flexTesting\tests\html\flexTesting.html) for more information.
Two commands are available (one action and one assertion):

callFlex locator fctName @ arg1 @ arg2 @ ...
assertFlexCallReturnValue locator:fctName @ arg1 @ arg2 @ ... expected value

License

Public Domain

Download

waitAndActions

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 30, 2009

    joel says:

    Hello,  Please, can You help me . I would like testing one flex applicati...

    Hello,  Please, can You help me .

    I would like testing one flex application, and i found your extension (very well).

    But your exemple doesn't work correctly.

    I try to use your user-extension.js (without modification) with your page of test, and i have an error message which tells " [error] Cannot find functions for '//object' ".

    Here are the information posted in debug mode: 

    Thanks very much to help me.

    Joel 

  2. Feb 26, 2009

    qagod says:

    I get the same error.  [error] Cannot find functions for '//object' And w...

    I get the same error. 

    [error] Cannot find functions for '//object'

    And when I try to run the sample app with testrunner.html I get this error.  

    callFlex | //object | Selenium failure. Please report to the Selenium Users forum at http://forums.openqa.org, with error details from the log window.  

    The error message is: fct.selectByLabel is not a function

    Selenium IDE version 1 beta2 

  3. Oct 19

    jarmin says:

    Same error. I guess, the example is not properly written.  But I couldn't,...

    Same error.

    I guess, the example is not properly written.  But I couldn't, because I don't know how it could be right at all... Anyone of the authors?