You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Carol Frampton (JIRA)" <ji...@apache.org> on 2012/08/03 17:21:03 UTC

[jira] [Updated] (FLEX-33160) automation not working with Apache SDK 4.8.0

     [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carol Frampton updated FLEX-33160:
----------------------------------

    Summary: automation not working with Apache SDK 4.8.0  (was: automation not working with Apache SDK)
    
> automation not working with Apache SDK 4.8.0
> --------------------------------------------
>
>                 Key: FLEX-33160
>                 URL: https://issues.apache.org/jira/browse/FLEX-33160
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Automation
>    Affects Versions: Apache Flex 4.8 (parity release)
>            Reporter: Carol Frampton
>            Assignee: Carol Frampton
>             Fix For: Apache Flex 4.9.0
>
>
> 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