incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Frampton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33160) automation not working with Apache SDK
Date Fri, 03 Aug 2012 14:50:02 GMT
Carol Frampton created FLEX-33160:
-------------------------------------

             Summary: 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 Next


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

       

Mime
View raw message