# Defect in Get Table Cell Element with rowspan and colspan

**URL:** https://forum.robotframework.org/t/defect-in-get-table-cell-element-with-rowspan-and-colspan/5475
**Category:** Browser
**Created:** [21 March 2023 16:52 UTC](https://forum.robotframework.org/t/defect-in-get-table-cell-element-with-rowspan-and-colspan/5475 "2023-03-21T16:52:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![northernHemisphere](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@northernHemisphere](https://forum.robotframework.org/u/northernHemisphere)
#### Post date: [21 March 2023 16:52 UTC](https://forum.robotframework.org/t/defect-in-get-table-cell-element-with-rowspan-and-colspan/5475/1 "2023-03-21T16:52:15Z")

</div>

I am trying to assert values in an HTML Table using “Get Table Cell Element” keyword. The table header th element uses rowspan and colspan. See screenshot.  
 ![Screen Shot 2023-03-21 at 12.47.38 PM](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/0/0c3e6e8d5e1d73eb2c8f6ce3bc2bb3cc31421a26.png)

element has the wrong value in the call below. It is returning the value in column 0 “Thing 2” instead of column 1 “A2”.  
${element} = Get Table Cell Element ${table} “Sub Category A” “Thing 2”

---

<div class="post-metadata">

### Author: ![René](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ren%C3%A9/32/7_2.png) [@René](https://forum.robotframework.org/u/Ren%C3%A9)
#### Post date: [21 March 2023 21:36 UTC](https://forum.robotframework.org/t/defect-in-get-table-cell-element-with-rowspan-and-colspan/5475/2 "2023-03-21T21:36:20Z")

</div>

This keyword only calculates td and tr.  
Rowspan and colspan are not taken into account.

So you can not use this keyword for these table.
