I'm encountering an issue involving links within tables that I just
can't figure out, even after reading oodles of documentation and
perusing discussion boards...

Suppose I have a link inside a table.  When looking for such a link in
a test, Tellurium seems to identify the correct object, but clicking
the link does nothing.  Here's a simplified example:

Given HTML...

<table id="tblLink">
        <tr>
                <td><a href="http://www.link.com/";>Link</a></td>
        <tr>
</table>

...I define the following UI module:

ui.Table(uid: "tblLink", clocator: [tag: "td", id: "tblLink"]) {
        UrlLink(uid: "{row: 1, column: 1}", clocator: [tag: "a", text:
"Link"])
}

Given the above setup, I then execute the following code...

def targetLink = "tblLink[1][1]"
println "text: " + getText(targetLink)
println "html: " + toHTML(targetLink)
println "href: " + getLink(targetLink)
click targetLink
waitForPageToLoad 30000

...which results in the output...
text: Link
html: <a>Link</a>
href:  null

...and clicking on the link times out after the given 30 seconds.

So given that the text is correct, I'm inclined to think Tellurium
locates the correct UI object, but is for some reason unable to detect
the link's target.  I've tried the same link everywhere else -- within
a list, a container, or on its own -- and everything works as
expected, so I'm guessing I'm missing something on this table
definition.

Any help for this Tellurium novice would be greatly appreciated.
Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to