A correct environment setup for testing Flex applications
helps ensure reliable functional testing results. The test environment
is typically set up by the testers on the test computer.
Before you begin
Note: Ensure that the msvcp71.dll is available in the System32
directory (C:\Windows\System32) or SysWow64 directory (C:\Windows\SysWOW64).
About this task
To set up the test environment:
Procedure
- Check the settings of the browser:
- Internet Explorer:
- Open Internet Explorer.
- Click .
- Click the Security tab.
- Select the appropriate web content zone. Do one of the following
steps:
- If the web server is configured on a remote machine, complete
these steps:
- Select Local Intranet.
- Click .
- In the Add this Web site to the zone field,
type the URL to add to the web server.
- Click Add, and then click OK.
- If the web server is configured on local host, complete these
steps:
- Select Local Intranet.
- Click Custom Level.
- In the Reset to list, select Medium-low.
- In the Settings pane, click Enable for Initialize
and script ActiveX controls not marked as safe.
- Click OK.
- Firefox:
- Click .
- Clear the Block pop-up windows check box.
- Click .
- Clear the Warn me when sites try to install add-ons check
box.
- Open Rational Functional Tester,
and click . You must enable
the required JRE and set Internet Explorer as the default web browser.
- Enable the required browser on the Web Browsers page.
- Make the application under test trusted to run the application
locally. Paths to individual files or directories can be trusted,
rendering all the files in each selected directory and any of its
subdirectories trusted. Follow these steps to assign trust designations:
- Create a folder FlashPlayerTrust in C:\WINDOWS\system32\Macromed\Flash.
- Create a file named Flex without any file extension
in the FlashPlayerTrust folder.
- Type the directory path of the Flex application in the
Flex file. For example, if the Flex application is in C:\Test directory,
type the path in the Flex file as C:\Test.
- Save the file.
Note: If you are testing a Flex 4.0, 4.1 or 4.5 application,
ensure to specify security settings in Flash Player.