Micro Focus QTP (UFT) Forums

Full Version: Flex Grid - getItems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey

I am new to flex , my application has a Flex Data grid and when i search for a criteria, this Grid displays the result rows.

How do i get the count of these result rows, when i use Getrowcount property, it is returning all the rowcount in the grid, including the empty rows which is as 15.

when i use Browser("appa").FlexApplication("app").FlexDataGrid("treeResultGrid").GetItemsCount

it is returning 1.

my actual datarows are 11.

i got stuck at this point and any help is highly appreciated.

Thanks,
G
Browser("appa").FlexApplication("app").FlexDataGrid("treeResultGrid").RowCount gives the rowcount of the grid.