Web browser

activities
web

#1

Hello guys,

do you have some idea how to click the exact cell in html table?


#2

Depends on how you are checking for Cell Value.

  1. If you are iterating the same table via a datatable and click on a cell for a specific row or if you know the row/col count.

     rowIndex = dt.Rows.IndexOf(row) + 1;
     colIndex = row.Table.Columns["ColumnName"].Ordinal + 1;
    
     <webctrl id='customers' tag='TABLE' />
     <webctrl tag='TD' tablecol='"+colIndex.ToString+"' tablerow='"+rowIndex.ToString+"' />
    
  2. Search for the Cell Text and click on it.(if you know the cell value)