[ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carol Frampton resolved FLEX-33160. ----------------------------------- Resolution: Fixed Fix Version/s: (was: Apache Flex Next) Apache Flex 4.8.x Fix in trunk, rev 1369012. For those wishing to use automation with Apache Flex 4.8.0, the workaround is to make the same edit in your source or get tool.swc from the daily build. > automation not working with Apache SDK > -------------------------------------- > > Key: FLEX-33160 > URL: https://issues.apache.org/jira/browse/FLEX-33160 > Project: Apache Flex > Issue Type: Bug > Components: .Unspecified - Framework > Affects Versions: Apache Flex 4.8 (parity release) > Reporter: Carol Frampton > Assignee: Carol Frampton > Fix For: Apache Flex 4.8.x > > > In apache SDK, references to QTP were replaced with Tool. During that > process, one genuine reference to QTP also got modified and hence the issue > > Under tool.swc’s ToolAdapter class, > > ExternalInterface.call("eval", > "if (!window._mx_testing_plugin_" + > playerID + > ".RegisterPluginWithQTP(self, " + "'" + > playerID + "')) {" + > "document.getElementById('" + playerID + > > "').SetLastError('TEAPluginIE.TEAFlexAgentIE is not scriptable'); }"); > > is modified to > > ExternalInterface.call("eval", > "if (!window._mx_testing_plugin_" + > playerID + > ".RegisterPluginWithTool(self, " + "'" + > playerID + "')) {" + > "document.getElementById('" + playerID + > > "').SetLastError('TEAPluginIE.TEAFlexAgentIE is not scriptable'); }"); > > which should be reverted. Otherwise, the actual call to register our plugin > with QTP was not happening and so QTP automation is not working with Apache > Flex SDK. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira