Flex applications testing process

The testing process is based on the tasks that Flex developers and testers perform. The process for automating functional tests of Flex applications differs, depending on the way developers create the application under test.

Automated testing of Flex applications requires you to load supporting files. These supporting files can be loaded in two different stages:


Prerequisites

To test Flex applications, verify that the following software is installed:

Development environment

Test environment


Assumptions

These topics include the following assumptions regarding the testing of Flex applications:

The following diagram shows the typical flow of testing Flex applications:


Test Flex applications

The tasks that you perform in testing Flex applications depend on the application and whether you are a developer or a tester.

You can test applications that are enabled for IBM Rational Functional Tester or test applications that are not enabled for IBM Rational Functional Tester.

Test Rational Functional Tester enabled Flex applications

Developers can enable the Flex applications for testing by compiling the Flex application with IBM Rational Functional Tester agent (rft.swc for Flex 2.0, rftFlex3.0.swc and rftProp_Flex3.0.swc for Flex 3.0, Flex 3.2, Flex 3.3, Flex 3.4, Flex 3.5 or Flex 4.0) 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.

Advantages and limitations of testing Rational Functional Tester enabled Flex applications

Three advantages encourage enabling Flex applications for functional testing:

One limitation in testing enabled Flex applications is that only the developer can enable the Flex application for testing.

Test nonenabled Flex applications

Developers can enable the runtime loader component for Flex applications and deploy the application on a Web server for testing.

Advantages and limitations of testing non-enabled Flex applications

The advantages of testing Flex applications that are not enabled for functional testing:

Review the following limitations regarding nonenabled Flex applications:

Related tasks

Flex custom control support

Set up the development environment for Flex applications

Set up the test environment for testing Flex applications

Configure Flex applications

Configure Flex application using the user interface

Configure Flex application using tools

Create an HTML wrapper

Providing enabled Flex applications for testing

Test an enabled Flex application that is deployed on a Web server

Test enabled Flex applications on a local test computer

Configure the non-enabled Flex application

Deploy the Runtime loader components

Test nonenabled Flex applications