Setting up the test environment for testing Flex applications
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
Procedure
- Check the settings of the browser:
- 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.
Security Settings for Adobe Flex 4.0, 4.1 and 4.5
About this task
Procedure
- Open an application in Flash Player.
- Right-click and select Settings to access Settings Manager.
- Select the Privacy tab.
- Click Advanced.Adobe Flash Player launches a new browser window and loads the Settings Manager help page.
- Click Global Security Settings panel
link.The Global Security Settings window opens.
- Add your application directory into secured or trusted
directory. In the Always trust files in these locations drop
down menu, click Add location. Browse for the
location.Note: For more information about setting the security configuration, see the Adobe® website.