Rational Functional Tester supports testing Flex applications that are built using Flex SDK 2.0.1 or 3.0.
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.
To test Flex applications, verify that the following software is installed:
The following diagram shows the typical flow of testing 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 Rational Functional Tester or test applications that are not enabled for Rational Functional Tester.
Testing Functional Tester enabled Flex applications
Developers can enable the Flex applications for testing by compiling the Flex application with Rational Functional Tester agent (rft.swc for Flex 2.0, rftFlex3.0.swc and rftProp_Flex3.0.swc for Flex 3.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 Functional Tester enabled Flex applications
One limitation in testing enabled Flex applications is that only the developer can enable the Flex application for testing.
Testing 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
Testers have one major advantage in testing Flex applications that are not enabled for functional testing: Ease. Testers benefit because many technical complexities are hidden.