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

Recording doesn't work on components derived from menu . It is showing an error popup window.

    XMLWordPrintableJSON

Details

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

    Description

      While recording Flex menu using QTP 9.2 I have faced this problem . An error popup occurs containing the following error.

      Error: Unable to find automation method 'mx.events.MenuEvent' for class 'name: FlexList

      superClassName: FlexListBase

      event2descriptor: (Object)#0

      flash.events.FocusEvent|keyFocusChange = (mx.automation.qtp::QTPEventDescriptor)#1

      eventClassName = "flash.events.FocusEvent"

      eventType = "keyFocusChange"

      name = "ChangeFocus"

      flash.events.KeyboardEvent|keyPress = (mx.automation.qtp::QTPEventDescriptor)#2

      eventClassName = "flash.events.KeyboardEvent"

      eventType = "keyPress"

      name = "Type"

      flash.events.MouseEvent|click = (mx.automation.qtp::QTPEventDescriptor)#3

      eventClassName = "flash.events.MouseEvent"

      eventType = "click"

      name = "Click"

      flash.events.MouseEvent|mouseMove = (mx.automation.qtp::QTPEventDescriptor)#4

      eventClassName = "flash.events.MouseEvent"

      eventType = "mouseMove"

      name = "MouseMove"

      flash.events.MouseEvent|mouseWheel = (mx.automation.qtp::QTPEventDescriptor)#5

      eventClassName = "flash.events.MouseEvent"

      eventType = "mouseWheel"

      name = "MouseScroll"

      mx.automation.events.AutomationDragEvent|dragComplete = (mx.automation.qtp::QTPEventDescriptor)#6

      eventClassName = "mx.automation.events.AutomationDragEvent"

      eventType = "dragComplete"

      name = "DragCancel"

      mx.automation.events.AutomationDragEvent|dragDrop = (mx.automation.qtp::QTPEventDescriptor)#7

      eventClassName = "mx.automation.events.AutomationDragEvent"

      eventType = "dragDrop"

      name = "DragDrop"

      mx.automation.events.AutomationDragEvent|dragStart = (mx.automation.qtp::QTPEventDescriptor)#8

      eventClassName = "mx.automation.events.AutomationDragEvent"

      eventType = "dragStart"

      name = "DragStart"

      mx.automation.events.ListItemSelectEvent|deselect = (mx.automation.qtp::QTPEventDescriptor)#9

      eventClassName = "mx.automation.events.ListItemSelectEvent"

      eventType = "deselect"

      name = "Deselect"

      mx.automation.events.ListItemSelectEvent|multiSelect = (mx.automation.qtp::QTPEventDescriptor)#10

      eventClassName = "mx.automation.events.ListItemSelectEvent"

      eventType = "multiSelect"

      name = "MultiSelect"

      mx.automation.events.ListItemSelectEvent|select = (mx.automation.qtp::QTPEventDescriptor)#11

      eventClassName = "mx.automation.events.ListItemSelectEvent"

      eventType = "select"

      name = "Select"

      mx.automation.events.ListItemSelectEvent|selectIndex = (mx.automation.qtp::QTPEventDescriptor)#12

      eventClassName = "mx.automation.events.ListItemSelectEvent"

      eventType = "selectIndex"

      name = "SelectIndex"

      mx.events.ListEvent|itemDoubleClick = (mx.automation.qtp::QTPEventDescriptor)#13

      eventClassName = "mx.events.ListEvent"

      eventType = "itemDoubleClick"

      name = "DoubleClick"

      mx.events.ListEvent|itemEditBegin = (mx.automation.qtp::QTPEventDescriptor)#14

      eventClassName = "mx.events.ListEvent"

      eventType = "itemEditBegin"

      name = "Edit"

      mx.events.ScrollEvent|scroll = (mx.automation.qtp::QTPEventDescriptor)#15

      eventClassName = "mx.events.ScrollEvent"

      eventType = "scroll"

      name = "Scroll"'.

      at mx.automation::AutomationManager/recordAutomatableEvent()

      at mx.automation.delegates.controls::MenuAutomationImpl/menuHideHandler()

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.core::UIComponent/dispatchEvent()

      at mx.controls::Menu/dispatchEvent()

      at mx.controls::Menu/hide()

      at mx.controls::Menu/http://www.adobe.com/2006/flex/mx/internal::hideAllMenus()

      at mx.controls::MenuBar/mouseUpHandler()

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.core::UIComponent/dispatchEvent()

      at mx.controls::MenuBar/mouseOverHandler()

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: