This is a migrated thread and some comments may be shown as answers.

Trouble with detecting if table cell is hidden

2 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 31 Mar 2011, 09:44 AM

Hi

i have a case that tries to verify if a cell is hidden but the verification step says that it is visible even thou IE8 do not render the cell

the table code is as follows.

<table style="empty-cells: hide">
<tr>
<td aut="cell1">some text so this cell is visible</td>
<td aut="cell2"></td>
</tr>
</table>

is there a way to detect that cell2 is hidden and not wrongly detected as "visible" ?

Regards

Ben

2 Answers, 1 is accepted

Sort by
0
Accepted
Stoich
Telerik team
answered on 31 Mar 2011, 10:53 AM
Hi Benjamin,
    I've logged this as a bug, you can monitor its progress here:
http://www.telerik.com/support/pits.aspx#/public/test-studio/5336

Meanwhile you can workaround this by checking whether TD is empty (and thus not visible). You can do that with the Verification Builder. Highlight the <TD> element and bring up the pop-up menu. Open the Verification Builder (screenshot 1). Build a "Text Content exactly EMPTY" Verification (screenshot 2).

If "Is EMPTY" returns true this means the element is not visible and vice versa.

I hope this helps!

Kind regards,
Stoich
the Telerik team
0
Benjamin
Top achievements
Rank 1
answered on 31 Mar 2011, 10:58 AM
Hi Stoich

thanks for the quick reply.

i will go with your solution as a workarround untill there is a fix

Kin Regards
Ben
Tags
General Discussions
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Benjamin
Top achievements
Rank 1
Share this question
or