Lesson 1: Set up the development environment

In this lesson, you set up the development environment for enabling the Flex application for functional testing.

About this task

To set up the development environment for Flex 2.0:
Note: The automation framework is a part of Flex Builder for Flex 3.0, 3.2 and 4.0. Therefore, the following steps need not be performed for Flex 3.0, 3.2 and 4.0. However, for Flex 3.3, 3.4, and 3.5, the automation libraries are not bundled. Use the automation libraries of Flex 3.2. Copy the _rb.swc files from the Flex 3.2 locale directory to the locale directory of Flex 3.3, 3.4, and 3.5 SDK. For data visualization in Flex 3.3, 3.4, 3.5, and 4.0, also ensure that you include the datavisualization.swc file for Flex 3.3, Flex 3.4, Flex 3.5, and Flex 4.0 that is available in the Adobe site.

Procedure

  1. Copy the automation_agent.swc file from C:/Program Files/Adobe/frameworks/libs directory to C:/Program Files/Adobe/Flex SDK 2/frameworks/libs directory.
  2. Copy the automation_agent_rb.swc file from C:/Program Files/Adobe/frameworks/locale/en_US directory to C:/Program Files/Adobe/Flex SDK 2/frameworks/locale/en_US directory.
    Important: This path is for en_US locale. If you are using a different locale, replace en_US with that locale.

Results

Now you are ready to configure the Flex application.