attached is an image showing how the tables are marked up. it's the table in the yellow highlighted box that I'm attempting to parse, however, I was not able to use the table checkpoint on either that one or on the table highlighted in blue at the bottom. both gave me the same error. I pasted the code shown below (copied from the "Parsing HTML Tables" topic in the TestComplete Help screeens) into my script and it diplayed the values of all three rows in that table in the log. However, not only would i need to have a solution that works for the yellow highlighted table, i would need it to record the existing values so that they can be checked during playback.
Note: before posting this i went back and double checked the HTML for the entire page. Even though the second table is at the same depth as the first <div> shown in the image, it too is nested within two more <div> tags and all are inside a <form> tag which is inside a <body> tag. So I believe it squarely fits within your description of the "tables nowadays are emulated as a set of divs and other web elements that together look like the table on the rendered page". So where does that leave me?
Dim page, table
Set page = Sys.Browser("*").Page("*")
Set table = page.FindChild("tagName", "table", 10)
If table.Exists Then
' Goes through the rows and cells of the table
For i = 0 To table.rows.length - 1
Log.AppendFolder("Row " & i)
For j = 0 To table.rows.item(i).cells.length - 1
Log.Message("Cell " & j & ": " & table.rows.item(i).cells.item(j).innerText)
Next
Log.PopLogFolder
Next
Else
Log.Warning("The table was not found")
End If