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

Upgraded Flex application from SDK 3.0 to SDK 4.5, QuickTest (QTP) 11.0 no longer identifies column names in FlexDataGrid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.5 (Release)
    • None
    • mx: DataGrid
    • None
    • Windows 7

    Description

      Using:
      QuickTest Professional 11.0
      Flex Automation Plug-in for QuickTest Professional 4.5
      Flex SDK 4.5
      IE 9.0
      Windows 7

      We were testing a Flex application that was using SDK 3.0. When QTP spied on the column header contained in a FlexDataGrid, the column header was identified as a FlexListLabel object and the automationname property contained a string made up of the column names.
      (SEE ATTACHED SCREENSHOT: "QTP Spy for Flex3.jpg")

      Example: automationname="[Exception Date] | [*Securities*]"
      where 'Exception Date' and 'Securities' are the column names in the grid.

      We have another build of the same Flex application, in our test environment, that is using SDK 4.5.
      In this build, the automationname of the column header no longer contains the column names, instead it contains the data in the first row of the grid. I have made sure, that I am spying on a column name.
      (SEE ATTACHED SCREENSHOT: "QTP Spy for Flex45.jpg")

      No changes were made to the code of the Flex application, we only moved from SDK 3 to SDK 4.5

      Is this a known issue?
      Is there anything that our Developers need to do to allow for column header to be identified again by QTP?

      We have custom functions that verify and input data into FlexDataGrids based on the columns. These functions made use of the fact that column names were contained in the automationname property of the first FlexListLabel within the FlexDataGrid.

      Sample QTP Script Used in Function:
      'Retrieve column headers
      ColHeaders = objGrid.FlexListLabel("micclass:=FlexListLabel", "index:=0").GetROProperty ("automationname")
      arryColNames = Split(ColHeaders, "|")

      Attachments

        1. QTP Spy for Flex45.jpg
          72 kB
          VictorB
        2. QTP Spy for Flex3.jpg
          61 kB
          VictorB

        Activity

          People

            Unassigned Unassigned
            VPas VictorB
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: