This project is read-only.

Link (anchor) inside table cell not reachable

Jul 9, 2012 at 7:13 AM

Trying to reach the link for clicking, inside the table cell element, I keep getting the message that it's "blocked by another control". As I can reach the cell, seemingly it blocks the link inside it. What could be the reason for it?

Jul 9, 2012 at 1:19 PM
Edited Jul 9, 2012 at 1:19 PM

Hi Nordvind,

Please see this post on how to troubleshoot playback action failures:

http://blogs.msdn.com/b/tapas_sahoos_blog/archive/2011/11/07/troubleshooting-record-and-playback-issues-in-coded-ui-test.aspx

Can you provide a simplified sample html page and code that can reproduce this behavior?

Thank you.

Jul 17, 2012 at 9:25 AM

Hi,

HTML is long and horrible but it's basically link inside table inside many nested divs inside a table cell. It's like:

<table>
<tr><td>
<div>
<div>
<div>
    <div>    
        <table>
        <tr>
            <!-- Some more cells -->
            <td>
                <a id="target-link">Target</a>
            </td>
        </tr>
        </table>
    </div>
</div></div></div>
</td></tr></table>


Jul 17, 2012 at 8:55 PM

Thank you.

Can you also provide a sample coded ui test for this please?

I cannot currently reproduce this issue.