Sikuli able to read tests from a table

Asked by Ramona Suciu

Hi,

I am trying to set up an automation environment where my automation tool would be able to read test scenarios from a wiki like page (like Atlassian Confluence) and run those scenarios, as written in the Confluence tables (see Cucumber for example).

Is Sikuli able to do this at this point (a Google search hasn't helped much with this)? Would it be able to perform something similar in the future?

Thanks and have a great day,
Ramona

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

to sort things out:

-- table
this is a table displayed on a webpage containing some rows and colums with borders and each cell containing some text

-- would be able to read test scenarios
you want to make a Sikuli script, that "reads" these table cells (I guess row by row), "understand" the test scenario and run the appropriate test (using what ever test tool ;-)

Sikuli itself currently "only" adds some visual search options, some basic OCR features and mouse/keyboard actions as a module/jar either to a Jython script or a Java program.

So what would be possible (but rather complex and even very complex if the web page has to be scrolled): click/tab somehow through the table and extract the cell contents either with OCR or GUI-copy.

after having read the required cells: the rest is standard Jython/Java programming.

If you provide an example screenshot of such a table, I can tell you in more detail what is possible
(mail-option -> https://launchpad.net/~raimund-hocke)

Generally in these cases it is worth thinking about directly analyzing the web page source after downloading it into a script/program using xml based parsing or similar options.

Can you help with this problem?

Provide an answer of your own, or ask Ramona Suciu for more information if necessary.

To post a message you must log in.