ActionScript error when recording a "select" action with RendererProvider (Flex Builder 3)
Issue
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
The following procedure may be used to work around this error:
- Download the following ActionScript file:
http://bugs.adobe.com/jira/secure/attachment/17407/AdvancedListBaseContentHolderAutomationImpl.as
<!--[if !supportLists]-->
- 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
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
