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

[QTP Automation] Custom AdvancedDataGrid Instrumentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Component Dispatch
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Add TEAFlexCustom.xml (provided) in QTP plugin folder
      2. Use the attached project
      3. Record a cell edition with QTP

      Actual Results: The FlexAdvancedDataGrid operation are not availables

      Error: Unable to find automation method 'mx.automation.events.ListItemSelectEvent' for class 'name: instDataGrid
      superClassName: FlexAdvancedDataGrid
      event2descriptor: (Object)#0
      mx.events.AdvancedDataGridEvent|itemEditBegin = (mx.automation.qtp::QTPEventDescriptor)#1
      eventClassName = "mx.events.AdvancedDataGridEvent"
      eventType = "itemEditBegin"
      name = "ClickCell"'.
      at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:1680]
      at mx.automation.delegates.core::UIComponentAutomationImpl/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\core\UIComponentAutomationImpl.as:281]
      at mx.automation.delegates.advancedDataGrid::AdvancedListBaseAutomationImpl/recordListItemSelectEvent()[C:\work\flex\dmv_automation\projects\automation_dmv\src\mx\automation\delegates\advancedDataGrid\AdvancedListBaseAutomationImpl.as:206]
      at mx.automation.delegates.advancedDataGrid::AdvancedListBaseAutomationImpl/mouseClickHandler()[C:\work\flex\dmv_automation\projects\automation_dmv\src\mx\automation\delegates\advancedDataGrid\AdvancedListBaseAutomationImpl.as:595]
      at mx.automation.delegates.advancedDataGrid::AdvancedDataGridBaseExAutomationImpl/mouseClickHandler()[C:\work\flex\dmv_automation\projects\automation_dmv\src\mx\automation\delegates\advancedDataGrid\AdvancedDataGridBaseExAutomationImpl.as:515]
      at mx.automation.delegates.advancedDataGrid::AdvancedDataGridAutomationImpl/mouseClickHandler()[C:\work\flex\dmv_automation\projects\automation_dmv\src\mx\automation\delegates\advancedDataGrid\AdvancedDataGridAutomationImpl.as:118]

      Expected Results: custom component should inherits the operation from the class it extends

      Workaround (if any): add all the operations / properties delcarations

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: