Forum Discussion

santi's avatar
santi
Contributor
7 years ago

Re: TestComplete - RowCount showing wrong count for grid and display some empty cells.

why dont you print contentText or innerText of each cell of 4th row to see what is there. I suspect there is a overlap, thats the reason it may be showing 4 as count including header.

 

Just something like:

   for k in range(0,round(tblrowCnt)):
           wndChild2 = tblchkpostsearch.Cell(k+1,0).Panel(1);
           Log.Message(tblchkpostsearch.Cell(k+1,5).innerHTML);

No RepliesBe the first to reply