Posts: 9
Threads: 1
Joined: Jul 2008
Reputation:
0
07-17-2008, 12:46 AM
I have an application and i am trying to capture a value which is inside the webtable. I am planning to use GetCelldata(row,column). When i try to use object spy on the object to find out the row and column values it doesnt list in either To properties or Ro properties of the object. Please help me how to find row,column values.
Posts: 190
Threads: 2
Joined: Mar 2008
Reputation:
0
07-17-2008, 02:18 AM
Usually the columns and rows count either start with 0 or 1.
so Trail and error is the best possible method, i guess.
Posts: 6
Threads: 3
Joined: Jul 2008
Reputation:
0
07-17-2008, 02:49 AM
@ Quickmy,
can you elaborate ur question please....????
As niranjan said, you can start with 1 (most probably) and put the value in variable and cross check the value in the variable (by "watch"ing the variable)
Posts: 6
Threads: 3
Joined: Jul 2008
Reputation:
0
07-17-2008, 03:36 AM
Hi quickmy,
on looking at the link you have provided, the table has 3 columns and 6 rows....
Now either you have two options of hardcoding the value.
Either hard code the value of rows and columns.
say look for the data in row-2 and col-3
Or else verify for the value "ONLINE NOW:" (which is also hardcoding the data you are looking for) and in that row check for the value in the column 2 or 3.
For finding the row value, you need to have a for loop to match the value you need.
this either 2 or 3 is a guess.. you have to play around to find it out.
Once it is discovered i dont think the column values are going to be changing... only the row values can change...
Let me know if you can understand my logic.