Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D596108A7 for ; Tue, 5 Aug 2014 07:27:12 +0000 (UTC) Received: (qmail 43433 invoked by uid 500); 5 Aug 2014 07:27:12 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 43397 invoked by uid 500); 5 Aug 2014 07:27:12 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 43387 invoked by uid 99); 5 Aug 2014 07:27:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 07:27:12 +0000 Date: Tue, 5 Aug 2014 07:27:12 +0000 (UTC) From: "Sourabh Jain (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-30341) Custom TreeItemRenderer causes RFT automation to fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-30341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sourabh Jain updated FLEX-30341: -------------------------------- Attachment: FlexApp.jpg FlexCustomControlDelegate.as flextreeCustomControl.zip Also need your help in reviewing if this delegate file(FlexCustomControlDelegate.as) is correct or not. > 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 > Attachments: FlexApp.jpg, FlexCustomControlDelegate.as, flextreeCustomControl.zip, treeStructure.rar > > > 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)