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

automation not working with Apache SDK 4.8.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Apache Flex 4.8 (parity release)
    • Apache Flex 4.9.0
    • Automation
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: