Hello,
I am using tellurium mostly for grid bases testing and i am finding it
quit interesting and effective.
I have come across this problem while testing grids
I am having many columns in my table and wanna choose my column
based on its Header name.
my Ui module is like
ui.StandardTable(uid: "SolutionTable", clocator: [tag: "table",
direct: "true", id: "T0", class: "dbox"]){
//Image(uid: "{row: all, column: 12}",
clocator: [tag: "img"])
Image(uid: "{header: any} as Edit", clocator:
[tag: "img", text:"Edit"])
}
but when i call :
println " ---- "+getText("SolutionTable.header.Edit")
it give me error saying
com.thoughtworks.selenium.SeleniumException: ERROR: Element
uimcal={"rid":"SolutionTable.header.Edit","locator":"jquery=#T0>
thead:first > tr > th:has(img:te_text(Edit)) img:te_text(Edit)"} not
found
i tried using
println " ---- "+getText("SolutionTable[3][Edit]");
but that did not work for me
i also tried using
diagnose("SolutionTable.header.Edit") but with no success, i get the
same error again.
Whats that i am doing wrong?
Please help.
Thanks,
-Eric.
--
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.