Ø Mercury QuickTest Professional 9.1(QA)
Ø Flex_Automation_Installer.exe (Flex Plug-in)(DEV and QA)
Ø Flash Player ActiveX control, version 9.0.28.0,Debug Version(QA)
1. Install QuickTest Professional 9.1, after installation completed restart the computer as is prompted.
2. Install Flex_Automation_Installer.exe,
3. Configure TEAFlexCustom.xml for customized component that directly extends UIComponent.
1. Install Flex Builder 2
2. Install Flex Automation Package (download fromhttp://www.adobe.com/go/tryflex)
3. Copy flex automation library files to Flex Builder library
Ø Copyautomation_agent.swcandqtp.swcfiles
from C:\Program Files\Adobe\Flex Automation\frameworks\libs
to C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\libs
Ø Copyautomation_agent_rb.swcfile
from C:\Program Files\Adobe\Flex Automation\frameworks\locale\en_US
to C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\locale\en_US
1. Select a flex project you want to enable automation testing. In the menu, select Project>Properties. And Select Flex Compiler in the properties window and add the following line in the Additional compiler arguments field, to include the automation library files.
-include-libraries "c:\program files\adobe\flex builder 2\Flex SDK 2\frameworks\libs\automation.swc" "c:\program files\adobe\flex builder 2\Flex SDK 2\frameworks\libs\automation_agent.swc" "c:\program files\adobe\flex builder 2\Flex SDK 2\frameworks\libs\qtp.swc"
1. Apply the changes and rebuild the project. The application is now ready with QTP test automation support. (PS: the application SWF with QTP test automation support is about200klarger than original one. We may need to prepare two versions in order not to lose performance in production)