Forum Discussion

Test56's avatar
Test56
Contributor
11 years ago

Interacting with HTML Table

Hello I was trying to interact with HTML Table element. I need to get the Cell object using the column index and Row index. I tried the suggestion given in your forum http://support.smartbear.com/viewarticle/26819/ . I tried to use the code snippet given by you in this page  "table.rows.item(i).cells.item(j)". However the object still remains empty. Can you please guide me as if i can retrieve the Cell object using this logic. Or any particular setting which can help me.



I am using TC 8.2  and IE version of 8.

2 Replies

  • After doing some research i tried "table.Cell(i,j)" and it worked when i was trying individually in separate project. However when i tried the same in my project it didn't work. After some investigation i found that in the Web Testing properties, the Tree Model is selected Hybrid and because of that its not returning the Cell object. Can you provide me the equivalent code snippet for "table.Cell(i,j)" which will work in Hybrid model.