Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

calling get_table twice on same table cell results in element undefined error #2286

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 2286

1.  Call $sel->getTable("table.0.0") on any populated table you have
2.  Call $sel->getTable("table.0.0") on the very next line

I expected to see that I could get data from the same cell twice.  Instead, I was able
to get data the first time but not the next time, I got the "element undefined" error.
 Below is sample output from my attached perl script demonstrating the problem:

ok 1 - get_table, test_table.0.0
# Error requesting http://localhost:4444/selenium-server/driver/:
# ERROR: Command execution failure. Please search the user group at https://groups.google.com/forum/#!forum/selenium-users
for error details from the log window.  The error message is: element is undefined
not ok 2 - get_table, test_table.0.0
#   Failed test 'get_table, test_table.0.0'
#   at ./sel_test.pl line 30.

I haven't found anything in the selenium users group regarding this problem.  I've
attached the script which assumes that /tmp/index.html exists (also attached) and that
selenium standalone server 2.0 is available in the same dir from which the script is
run.

Selenium version:  Standalone server 2.0.0
OS:  Linux (Fedora Core 15)
Browser:  Firefox
Brower version:  5.0

Thanks,
Eric H.

Reported by ejhilz on 2011-08-17 17:12:16


- _Attachment: [index.html](https://storage.googleapis.com/google-code-attachments/selenium/issue-2286/comment-0/index.html)_ - _Attachment: [sel_test.pl](https://storage.googleapis.com/google-code-attachments/selenium/issue-2286/comment-0/sel_test.pl)_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions