Developers can enable the RuntimeLoading component for
Flex applications and provide the application on a web server for
testing.
To test Flex applications :
- A developer must perform the following tasks:
- Set up the development environment.
- Configure the RuntimeLoading application.
- Deploy the RuntimeLoader files to a web server. Typically deploy
the files to the root directory so that this action is performed only
once.
- Deploy the Flex application to a web server.
- Provide the complete URL of the RuntimeLoading testing page to
the testers.
- A tester must perform the following tasks:
- Set up the test environment.
- Open the RuntimeLoadingTest.html page in browser.
- Type the relative path of the Flex application to be tested as
a query parameter to the HTML page.
- Use Rational Functional Tester to test the
application.
Note: Testers can also deploy the necessary files such as RuntimeLoader
and the .swf file to a web server, provided that testers can access
the server. Although developers might not be familiar with Rational Functional Tester, the developer needs
the RuntimeLoader source file and the Rational Functional Tester agent (rft.swc) to enable
and deploy the Flex application. Testers need to provide these files
to the developer.