Testing Rational® Functional Tester enabled Flex applications

Developers can enable the Flex applications for testing by building the Flex application with Rational® Functional Tester agent and Flex automation framework libraries. After compilation, the developer must create an HTML wrapper that embeds the enabled Flex application and provide the application on a web server or on a local test computer for testing.

To test Flex applications :
  1. A developer must perform these tasks:
    1. Set up the development environment.
    2. Compile the Flex application with the Rational® Functional Tester agent and Flex automation framework libraries. You can use either the Flex user interface or any of the following tools to enable the Flex application:
      • Flex Builder
      • Command-line compiler
    3. Create an HTML wrapper that embeds the enabled Flex application (.swf file) using an <object> and <embed> tags.
    4. Deploy the enabled Flex application for testing to a web server or provide the files for testing locally.
  2. A tester must perform the following tasks:
    1. Set up the test environment.
    2. Obtain the enabled .swf file and HTML wrapper from the developer.
    3. Deploy the application to a web server or run the Flex application on a local test computer.
    4. Start Rational® Functional Tester to test the HTML application that contains the embedded Flex application.