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 16:50:02 UTC

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

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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428248#comment-13428248 ] 

Carol Frampton commented on FLEX-33160:
---------------------------------------

There was another instance of this problem in tool_air.  Fixed in rev 1369109.
                
> 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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carol Frampton closed FLEX-33160.
---------------------------------

    
> 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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carol Frampton resolved FLEX-33160.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Apache Flex Next)
                   Apache Flex 4.8.x 

Fix in trunk, rev 1369012.  For those wishing to use automation with Apache Flex 4.8.0, the workaround is to make the same edit in your source or get tool.swc from the daily build.
                
> 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 4.8.x 
>
>
> 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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
     [ 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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carol Frampton reopened FLEX-33160:
-----------------------------------


reopen to change title
                
> 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: 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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carol Frampton closed FLEX-33160.
---------------------------------

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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Component/s:     (was: .Unspecified - Framework)
                 Automation
    
> 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: 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

       

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

Posted by "Carol Frampton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carol Frampton resolved FLEX-33160.
-----------------------------------

    Resolution: Fixed
    
> 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