[ https://issues.apache.org/jira/browse/FLEX-30341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053668#comment-14053668 ]
Sourabh Jain commented on FLEX-30341: ------------------------------------- I am having same issue. Can you please share the solution. > Custom TreeItemRenderer causes RFT automation to fail > ----------------------------------------------------- > > Key: FLEX-30341 > URL: https://issues.apache.org/jira/browse/FLEX-30341 > Project: Apache Flex > Issue Type: Bug > Components: Component Replay > Affects Versions: Adobe Flex SDK Previous > Environment: Affected OS(s): Windows > Affected OS(s): Windows XP > Language Found: English > Reporter: Adobe JIRA > > Steps to reproduce: > 1. Create a custom TreeItemRenderer with no functionality. Extend > TreeItemRenderer. > 2. Create a screen with a tree that uses the custom TreeItemRenderer. Compile > with automation framework libs. > 2. Create an RFT (or FlexMonkey) test that attempts to open the branches of > the tree and click the nodes. > > Actual Results: > RFT gives null pointer exception when the tree branch is clicked. FlexMonkey > throws an exception that the automation delegate for the TreeItem cannot be > found. > > Expected Results: > Tree branches would be operational using custom TreeItemRenderers, even > without custom delegates as there is no new behavior and the > AutomationManager should seek the superclass of the TreeItemRenderer and use > the delegate associated to that class. > > Workaround (if any): > None -- This message was sent by Atlassian JIRA (v6.2#6252)