Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find out row,column values to use GetCellData method
#7
Solved: 10 Years, 9 Months, 3 Weeks ago Smile 
Hi swame_sp,prince3105,

Thank you so much for the explanation and the code, i got it right.
Here is what i have written

Code:
RCnt = Browser("Seafight.com – Online").Page("Seafight.com – Online").WebTable("Deutsch").RowCount
For i=1 to Rcnt
msgbox i
CCnt = Browser("Seafight.com – Online").Page("Seafight.com – Online").WebTable("Deutsch").ColumnCount(i)
For j=1 to Ccnt
strCellData = Browser("Seafight.com – Online").Page("Seafight.com – Online").WebTable("Deutsch").GetCellData(i,j)
Next
Next
'Using watch i get the i,j values ie 2,3 and i use them in GetCellData method
strCellData= trim(Browser("Seafight.com – Online").Page("Seafight.com – Online").WebTable("Deutsch").GetCellData(2,3))
strSplitData = split(strCellData," ",3,0)
onlineNow = strSplitData(0)
Msgbox(onlineNow)
Reply


Messages In This Thread
RE: How to find out row,column values to use GetCellData method - by quickmy - 07-17-2008, 12:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  DataGrid: double click on selected row robertosalemi 0 4,291 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 1,979 04-14-2016, 11:11 PM
Last Post: Harry1999
  [UFT] Get column name from SfwObject felino 0 2,910 12-02-2015, 04:07 PM
Last Post: felino
  AddParameter method does not add in first column of datatable alpha1 4 5,351 07-14-2015, 12:44 AM
Last Post: supputuri
  Keep row number imbizile 0 2,583 09-18-2014, 03:31 AM
Last Post: imbizile

Forum Jump:


Users browsing this thread: 1 Guest(s)