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