07-22-2010, 07:31 PM
Thanks for the help, the code you provided is giving me the same results.
The code returns the value of 1 row and 1 column.
And the CellData that is returned is for the WebTable "Requests Pending
For Approval" which if you look at the attached screen shots is the WebTable that the "Global Six Aprs Testsix" WebTable is part of.
The Run-Time Object Properties of the Web Table "Global Six Aprs Testsix" innertext value is <multi-line value>.
For some reason it seems that there is only 1 row and 1 column in both web tables.
I hope I did not confuse you even more, but I need to be able to locate specific data in the webtable and then click on the object.
I did accomplish this process with other web tables where I can get the row/column count but for some reason I can not get the row/column of either web tables.
Any other suggestions would be greatly appreciated!
Brian
Code:
Dim Tcount
Set Tcount = Browser("").Page("").WebTable("Global Six Aprs Testsix")
a = Tcount.GetROProperty("rows")
b = Tcount.GetROProperty("cols")
For i = 1 to a
For j = 1 to b
c = Tcount.GetCellData(i,j)
msgbox i
msgbox j
msgbox c 'here you should be able to see what each cell has data in that table.
Next ' j
Next ' i
The code returns the value of 1 row and 1 column.
And the CellData that is returned is for the WebTable "Requests Pending
For Approval" which if you look at the attached screen shots is the WebTable that the "Global Six Aprs Testsix" WebTable is part of.
The Run-Time Object Properties of the Web Table "Global Six Aprs Testsix" innertext value is <multi-line value>.
For some reason it seems that there is only 1 row and 1 column in both web tables.
I hope I did not confuse you even more, but I need to be able to locate specific data in the webtable and then click on the object.
I did accomplish this process with other web tables where I can get the row/column count but for some reason I can not get the row/column of either web tables.
Any other suggestions would be greatly appreciated!
Brian