Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FlexDataGrid rows
#5
Not Solved
I did not get the expected result even after using numautomationchildren. I also tried recording the scroll and getting the number of rows. But it still gives me less number of rows than there are actually in the grid. Here is the code:

Code:
with Browser("browser").FlexApplication("portal").FlexContainer("container").FlexBox("box").FlexBox("innerbox").FlexDataGrid("grid")

Dim rows, totalrows
rows = .GetROProperty("rowcount")
totalrows = .GetROProperty("NumAutomationChildren")

.Scroll 16,flexScrollVertical,flexThumbPosition
rows = .GetROProperty("rowcount")
totalrows = .GetROProperty("NumAutomationChildren")

End With
Reply


Messages In This Thread
FlexDataGrid rows - by pranjal - 08-30-2009, 07:40 AM
RE: FlexDataGrid rows - by Malini - 08-30-2009, 11:17 AM
RE: FlexDataGrid rows - by Saket - 08-30-2009, 12:03 PM
RE: FlexDataGrid rows - by pranjal - 08-30-2009, 08:33 PM
RE: FlexDataGrid rows - by pranjal - 08-31-2009, 12:04 AM
RE: FlexDataGrid rows - by basanth27 - 08-31-2009, 10:35 AM
RE: FlexDataGrid rows - by Malini - 08-31-2009, 09:22 AM
RE: FlexDataGrid rows - by Saket - 08-31-2009, 09:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple rows of test data Bhuvana 0 1,195 01-03-2020, 09:30 PM
Last Post: Bhuvana
  Adding data into rows that add dynamically with setcelldata azar81 4 5,676 04-13-2015, 05:24 PM
Last Post: vidya2k2
  Excel operation - to find usedrange of rows & col pooja 1 9,406 02-19-2015, 04:06 AM
Last Post: supputuri
  how to count rows and columns in csv file. venkatesh9032 1 2,661 02-18-2014, 01:28 AM
Last Post: supputuri
  UFT 11.52 - How to select multiple rows in webtable UFT_Tester 0 6,076 09-12-2013, 09:36 PM
Last Post: UFT_Tester

Forum Jump:


Users browsing this thread: 1 Guest(s)