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 :
- A developer must perform these tasks:
- Set up the development environment.
- 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
- Create an HTML wrapper that embeds the enabled Flex application (.swf file) using an <object> and <embed> tags.
- Deploy the enabled Flex application for testing to a web server or provide the files for testing locally.
- A tester must perform the following tasks:
- Set up the test environment.
- Obtain the enabled .swf file and HTML wrapper from the developer.
- Deploy the application to a web server or run the Flex application on a local test computer.
- Start Rational® Functional Tester to test the HTML application that contains the embedded Flex application.