VictorB created FLEX-34217:
------------------------------
Summary: Upgraded Flex application from SDK 3.0 to SDK 4.5,
QuickTest (QTP) 11.0 no longer identifies column names in FlexDataGrid
Key: FLEX-34217
URL: https://issues.apache.org/jira/browse/FLEX-34217
Project: Apache Flex
Issue Type: Bug
Components: mx: DataGrid
Affects Versions: Adobe Flex SDK 4.5 (Release)
Environment: Windows 7
Reporter: VictorB
Attachments: QTP Spy for Flex3.jpg, QTP Spy for Flex45.jpg
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.
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.
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, "|")
--
This message was sent by Atlassian JIRA
(v6.2#6252)