The Tellurium Table.groovy seems to require the table to have a tbody.
However, our applications tables don't have a tbody tag and thus a
call such as    int rows =
getTableMaxRowNum("AddMembersThickbox.AddMembersThickboxTable")

fails with this error:

com.thoughtworks.selenium.SeleniumException: ERROR: Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found
message: Element #aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td) not found, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814.
JavaScript Error Stack:
SeleniumError("Element #aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td) not found")@http://localhost:4444/
selenium-server/core/scripts/htmlutils.js:814

{anonymous}("#aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td)")@http://localhost:4444/selenium-server/
core/scripts/selenium-browserbot.js:1345

{anonymous}("#aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td)")@http://localhost:4444/selenium-server/
core/scripts/tellurium-extensions.js:25

{anonymous}([object Object],[object Object])@http://localhost:4444/
selenium-server/core/scripts/tellurium.js:522

{anonymous}()@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:634

{anonymous}("[{\"uid\":\"AddMembersThickbox.AddMembersThickboxTable\",
\"args\":[\"jquery=#aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td)\"],\"name\":\"getCssSelectorCount
\",\"sequ\":36}]","")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350

{anonymous}("[{\"uid\":\"AddMembersThickbox.AddMembersThickboxTable\",
\"args\":[\"jquery=#aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td)\"],\"name\":\"getCssSelectorCount
\",\"sequ\":36}]","")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:60

{anonymous}([object Object],[object Object])@http://localhost:4444/
selenium-server/core/scripts/selenium-commandhandlers.js:330

{anonymous}()@http://localhost:4444/selenium-server/core/scripts/
selenium-executionloop.js:112

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
selenium-executionloop.js:78

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
htmlutils.js:60.  The error message is: message: Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found
message: Element #aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td) not found, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814.
JavaScript Error Stack:
SeleniumError("Element #aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td) not found")@http://localhost:4444/
selenium-server/core/scripts/htmlutils.js:814

{anonymous}("#aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td)")@http://localhost:4444/selenium-server/
core/scripts/selenium-browserbot.js:1345

{anonymous}("#aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td)")@http://localhost:4444/selenium-server/
core/scripts/tellurium-extensions.js:25

{anonymous}([object Object],[object Object])@http://localhost:4444/
selenium-server/core/scripts/tellurium.js:522

{anonymous}()@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:634

{anonymous}("[{\"uid\":\"AddMembersThickbox.AddMembersThickboxTable\",
\"args\":[\"jquery=#aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td)\"],\"name\":\"getCssSelectorCount
\",\"sequ\":36}]","")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350

{anonymous}("[{\"uid\":\"AddMembersThickbox.AddMembersThickboxTable\",
\"args\":[\"jquery=#aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td)\"],\"name\":\"getCssSelectorCount
\",\"sequ\":36}]","")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:60

{anonymous}([object Object],[object Object])@http://localhost:4444/
selenium-server/core/scripts/selenium-commandhandlers.js:330

{anonymous}()@http://localhost:4444/selenium-server/core/scripts/
selenium-executionloop.js:112

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
selenium-executionloop.js:78

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
htmlutils.js:60, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814.
JavaScript Error Stack:
SeleniumError("Element #aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td) not found")@http://localhost:4444/
selenium-server/core/scripts/htmlutils.js:814

{anonymous}("#aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td)")@http://localhost:4444/selenium-server/
core/scripts/selenium-browserbot.js:1345

{anonymous}("#aspect_vireo_admin_Settings_table_group-edit-search-
eperson > tbody > tr:has(td)")@http://localhost:4444/selenium-server/
core/scripts/tellurium-extensions.js:25

{anonymous}([object Object],[object Object])@http://localhost:4444/
selenium-server/core/scripts/tellurium.js:522

{anonymous}()@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:634

{anonymous}("[{\"uid\":\"AddMembersThickbox.AddMembersThickboxTable\",
\"args\":[\"jquery=#aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td)\"],\"name\":\"getCssSelectorCount
\",\"sequ\":36}]","")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350

{anonymous}("[{\"uid\":\"AddMembersThickbox.AddMembersThickboxTable\",
\"args\":[\"jquery=#aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td)\"],\"name\":\"getCssSelectorCount
\",\"sequ\":36}]","")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:60

{anonymous}([object Object],[object Object])@http://localhost:4444/
selenium-server/core/scripts/selenium-commandhandlers.js:330

{anonymous}()@http://localhost:4444/selenium-server/core/scripts/
selenium-executionloop.js:112

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
selenium-executionloop.js:78

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
htmlutils.js:60
JavaScript Error Stack:
{anonymous}(null)@http://localhost:4444/selenium-server/core/scripts/
tellurium-utils.js:638

printStackTrace()@http://localhost:4444/selenium-server/core/scripts/
tellurium-utils.js:623

{anonymous}("Element #aspect_vireo_admin_Settings_table_group-edit-
search-eperson > tbody > tr:has(td) not found \nmessage: Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814. \nJavaScript Error Stack: \nSeleniumError(\"Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:814\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/selenium-browserbot.js:1345\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:25\n\n{anonymous}([object Object],
[object Object])@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:522\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/tellurium.js:634\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:60\n\n{anonymous}([object Object],[object
Object])@http://localhost:4444/selenium-server/core/scripts/selenium-
commandhandlers.js:330\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/selenium-executionloop.js:112\n\n{anonymous}
(0)@http://localhost:4444/selenium-server/core/scripts/selenium-
executionloop.js:78\n\n{anonymous}(0)@http://localhost:4444/selenium-
server/core/scripts/htmlutils.js:60.  The error message is: message:
Element #aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td) not found \nmessage: Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814. \nJavaScript Error Stack: \nSeleniumError(\"Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:814\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/selenium-browserbot.js:1345\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:25\n\n{anonymous}([object Object],
[object Object])@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:522\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/tellurium.js:634\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:60\n\n{anonymous}([object Object],[object
Object])@http://localhost:4444/selenium-server/core/scripts/selenium-
commandhandlers.js:330\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/selenium-executionloop.js:112\n\n{anonymous}
(0)@http://localhost:4444/selenium-server/core/scripts/selenium-
executionloop.js:78\n\n{anonymous}(0)@http://localhost:4444/selenium-
server/core/scripts/htmlutils.js:60, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814. \nJavaScript Error Stack: \nSeleniumError(\"Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:814\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/selenium-browserbot.js:1345\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:25\n\n{anonymous}([object Object],
[object Object])@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:522\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/tellurium.js:634\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:60\n\n{anonymous}([object Object],[object
Object])@http://localhost:4444/selenium-server/core/scripts/selenium-
commandhandlers.js:330\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/selenium-executionloop.js:112\n\n{anonymous}
(0)@http://localhost:4444/selenium-server/core/scripts/selenium-
executionloop.js:78\n\n{anonymous}(0)@http://localhost:4444/selenium-
server/core/scripts/htmlutils.js:60")@http://localhost:4444/selenium-
server/core/scripts/selenium-remoterunner.js:276

{anonymous}([object Error])@http://localhost:4444/selenium-server/core/
scripts/selenium-executionloop.js:134

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
selenium-executionloop.js:81

{anonymous}(0)@http://localhost:4444/selenium-server/core/scripts/
htmlutils.js:60{anonymous}(null)@http://localhost:4444/selenium-server/
core/scripts/tellurium-utils.js:638,printStackTrace()@http://localhost:
4444/selenium-server/core/scripts/tellurium-utils.js:623,{anonymous}
("Element #aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td) not found \nmessage: Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814. \nJavaScript Error Stack: \nSeleniumError(\"Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:814\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/selenium-browserbot.js:1345\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:25\n\n{anonymous}([object Object],
[object Object])@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:522\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/tellurium.js:634\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:60\n\n{anonymous}([object Object],[object
Object])@http://localhost:4444/selenium-server/core/scripts/selenium-
commandhandlers.js:330\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/selenium-executionloop.js:112\n\n{anonymous}
(0)@http://localhost:4444/selenium-server/core/scripts/selenium-
executionloop.js:78\n\n{anonymous}(0)@http://localhost:4444/selenium-
server/core/scripts/htmlutils.js:60.  The error message is: message:
Element #aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td) not found \nmessage: Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found, name: Error, filename:
http://localhost:4444/selenium-server/core/scripts/htmlutils.js,
linenumber: 814. \nJavaScript Error Stack: \nSeleniumError(\"Element
#aspect_vireo_admin_Settings_table_group-edit-search-eperson > tbody >
tr:has(td) not found\")@http://localhost:4444/selenium-server/core/
scripts/htmlutils.js:814\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/selenium-browserbot.js:1345\n\n{anonymous}
(\"#aspect_vireo_admin_Settings_table_group-edit-search-eperson >
tbody > tr:has(td)\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:25\n\n{anonymous}([object Object],
[object Object])@http://localhost:4444/selenium-server/core/scripts/
tellurium.js:522\n\n{anonymous}()@http://localhost:4444/selenium-
server/core/scripts/tellurium.js:634\n\n{anonymous}(\"[{\\\"uid\\\":\\
\"AddMembersThickbox.AddMembersThickboxTable\\\",\\\"args\\\":[\\
\"jquery=#aspect_vireo_admin_Settings_table_group-edit-search-eperson
> tbody > tr:has(td)\\\"],\\\"name\\\":\\\"getCssSelectorCount\\\",\\
\"sequ\\\":36}]\",\"\")@http://localhost:4444/selenium-server/core/
scripts/tellurium-extensions.js:350\


Is there a workaround for this?

Thanks,

Jade

-- 
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