sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11290
Re: [Question #200884]: Sikuli able to read tests from a table
Question #200884 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200884
Status: Open => Answered
RaiMan proposed the following answer:
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.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.