Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RowCount of a Nested Grid
#1
Not Solved
Right now I’m working on a grid where I need the row count of a subgrid. However, the sub grid is considered part of the major grid object wise.

Because the method is (object).RowCount it returns the number of total rows in the major grid. If I record in these subgrids QTP identifies them by cascading the Row designation, by major row then by sub row.

For example if I were to record a value in a sub grid column of the sub grid I would get:

Code:
SwfWindow("Program").SwfTable("Grid").SelectCell "0;1","Sub Grid Column"

Where the “0” in “0;1” represents the major grid row and the “1” represents the sub grid row. These tables are dynamic so any number of major grid rows and sub grid rows can appear.

Any ideas?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem in getting rowcount mrigaja 0 838 10-09-2019, 03:55 PM
Last Post: mrigaja
  [UFT] WpfTable and WaitProperty with RowCount robertosalemi 0 1,971 11-23-2016, 10:55 PM
Last Post: robertosalemi
  SwfTable and RowCount: Unspecified Error robertosalemi 0 1,933 12-14-2015, 04:05 PM
Last Post: robertosalemi
  Not able to click text inside the grid dropdown szkapoo 6 4,655 12-20-2014, 09:43 PM
Last Post: supputuri
  SAPGUI Grid Ansh123 1 5,677 11-20-2014, 05:05 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)