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

Flex Automation and Spark ComboBox issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • Adobe Flex SDK Previous
    • None
    • Spark Components
    • None
    • Affected OS(s): Windows
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile the attached Flex application with automation libraries( compiling with 4.1 automation patch swc's automation_41.swc,automation_agent.swc,automation_airspark.swc,automation_dmv_41.swc,automation_flashflexkit.swc,automation_spark_41.swc and qtp.swc)
      2. Deploy the application in App Server - Tomcat 6
      2. Launch and Record using QTP version 10, QTP plugin 4,Flash Player 10 and IE8
      3. Throws runtime error when selecting the spark ComboBox while in QTP recording mode.

      Actual Results:
      ComboBox should be recorded and registered in QTP script

      Expected Results:
      RUNTIME ERROR:
      Error: Unable to find automation method 'mx.automation.events.TextSelectionEvent' for class 'name: FlexObject
      superClassName: FlexDisplayObject
      event2descriptor: (Object)#0
      flash.events.FocusEvent|keyFocusChange = (mx.automation.qtp::QTPEventDescriptor)#1
      eventClassName = "flash.events.FocusEvent"
      eventType = "keyFocusChange"
      name = "ChangeFocus"
      flash.events.MouseEvent|click = (mx.automation.qtp::QTPEventDescriptor)#2
      eventClassName = "flash.events.MouseEvent"
      eventType = "click"
      name = "Click"
      flash.events.MouseEvent|mouseMove = (mx.automation.qtp::QTPEventDescriptor)#3
      eventClassName = "flash.events.MouseEvent"
      eventType = "mouseMove"
      name = "MouseMove"'.
      at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation_agent\src\mx\automation\AutomationManager.as:2290]
      at mx.automation.delegates.core::UIComponentAutomationImpl/recordAutomatableEvent()[C:\Documents and Settings\deeptika\Adobe Flash Builder Burrito Preview\automation\src\mx\automation\delegates\core\UIComponentAutomationImpl.as:387]
      at spark.automation.delegates.components::SparkComboBoxAutomationImpl/textInput_recordHandler()[C:\Documents and Settings\deeptika\Adobe Flash Builder Burrito Preview\automation_spark\src\spark\automation\delegates\components\SparkComboBoxAutomationImpl.as:143]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
      at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation_agent\src\mx\automation\AutomationManager.as:2322]
      at mx.automation.delegates.core::UIComponentAutomationImpl/recordAutomatableEvent()[C:\Documents and Settings\deeptika\Adobe Flash Builder Burrito Preview\automation\src\mx\automation\delegates\core\UIComponentAutomationImpl.as:387]
      at spark.automation.delegates.components.supportClasses::SparkSkinnableTextBaseAutomationImpl/inputField_recordHandler1()[C:\Documents and Settings\deeptika\Adobe Flash Builder Burrito Preview\automation_spark\src\spark\automation\delegates\components\supportClasses\SparkSkinnableTextBaseAutomationImpl.as:195]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
      at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation_agent\src\mx\automation\AutomationManager.as:2322]
      at spark.automation.delegates::SparkRichEditableTextAutomationHelper/recordAutomatableEvent()[C:\Documents and Settings\deeptika\Adobe Flash Builder Burrito Preview\automation_spark\src\spark\automation\delegates\SparkRichEditableTextAutomationHelper.as:315]
      at spark.automation.delegates::SparkRichEditableTextAutomationHelper/flushSelection()[C:\Documents and Settings\deeptika\Adobe Flash Builder Burrito Preview\automation_spark\src\spark\automation\delegates\SparkRichEditableTextAutomationHelper.as:258]
      at spark.automation.delegates::SparkRichEditableTextAutomationHelper/stageEventHandler()[C:\Documents and Settings\deeptika\Adobe Flash Builder Burrito Preview\automation_spark\src\spark\automation\delegates\SparkRichEditableTextAutomationHelper.as:648]

      Workaround (if any):

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: