Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33160

automation not working with Apache SDK 4.8.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Apache Flex 4.8 (parity release)
    • Fix Version/s: Apache Flex 4.9.0
    • Component/s: Automation
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              cframpton Carol Frampton
              Reporter:
              cframpton Carol Frampton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: