4 June 2007
Note: This article was created based on Flex 2. Minor changes in the description and code may be necessary before it can be applied to Flex 3.
The Automation API in Adobe Flex can be used for many tasks, including collection of metrics, functional testing, and co-browsing. An agent facilitates the communication between the Flex application and automation tools such as Mercury QuickTest Pro 9.1 (QTP) or later or the metric recording tool. The two sample applications below show you features in the new Automation API, which is part of Adobe LiveCycle Data Services ES.
This sample illustrates how you can create a custom automated testing agent that records and replays user interaction with a Flex application. For more details, see "Creating Custom Agents" chapter in the Using the Automated Testing API (PDF, 484K) documentation in the Adobe LiveDocs.
Additionally, you can create a custom agent that records metrics data as the user interacts with an application as the following sample code illustrates. The recorded data can be sent to a database for future analysis of user interaction patterns. For more details please refer to "Creating Custom Agents" chapter in Using the Automated Testing API (PDF, 484K) in the Adobe documentation.
The Flex Automation Framework is included as a part of LiveCycle Data Services ES.