The process of enabling a custom component to support the Flex automation framework is called instrumentation. If you extend an Adobe Flex component, such as the
Button component, you are not required to do anything else to make that component testable. If you create a component that inherits from the
UIComponent class however, you must instrument that class to make it automation ready. This sample shows how to instrument the
RandomWalk custom component so that your application records your user’s interaction with the component and can be played back using an automation tool like Mercury QuickTest Pro Version 9.1 (QTP) or later.