Access data in tables on a web page --- use Selenium

Asked by George Papadopoulos

One of the web applications I have to test has a table in it, that table itself has data that I want to get for comparison against a known set of valid data. I know region provides the ability to get text, but in this case the entirety of the data is not shown. For example (excuse the terrible ascii art)

column1 | column 2 | column 3
-----------------------------------
123 | 4567... | 101112
-----------------------------------

So above what is visible is '4567...', the ... means there is more data. The actual data I want is '456789'. If one were to drag the table wider for that column then you would see it all, but that is rather annoying and imprecise.

So the question is, is there a way to get direct access to the data in the table?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Only with Selenium (which can be easily integrated with Sikuli --- see many posts here), since Sikuli does not have any direct access to the web GUI.

Can you help with this problem?

Provide an answer of your own, or ask George Papadopoulos for more information if necessary.

To post a message you must log in.