Download the following ActionScript file:
http://bugs.adobe.com/jira/secure/attachment/17407/AdvancedListBaseContentHolderAutomationImpl.as
<!--[if !supportLists]-->
Issue: ActionScript error when recording an action
Issue FLEXENT-742 has been logged against AdobeFlex Builder Professional when used with the Automated Testing module and the AdvancedDataGrid. Specifically, when using Quick Test Pro to record a "select" action on a cell with a RendererProvider as the content holder, the following ActionScript error is displayed:
An ActionScript error has occurred: TypeError: Error #1009: Cannot access a property or method of a null object reference.
Solution
Use the following procedure to work around this error:
-
-
Add this file into the src folder of the Flex Builder project and include this delegate using the -includes option as follows:
-locale en_US -includes AdvancedListBaseContentHolderAutomationImpl
-include-libraries
"C:\Work\flex\sdk_3.0.0.256\frameworks\libs\automation.swc"
"C:\Work\flex\sdk_3.0.0.256\frameworks\libs\automation_dmv.swc"
"C:\Work\flex\sdk_3.0.0.256\frameworks\libs\automation_agent.swc"
"C:\Work\flex\sdk_3.0.0.256\frameworks\libs\qtp.swc