← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #187001]: Best approach for developing a unit testing GUI

 

Question #187001 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/187001

    Status: Open => Answered

RaiMan proposed the following answer:
There are 2 possibilities:

--- Java swing
Since we have the Java environment available you could implement this window using the Java swing classes (thus is how the Sikuli IDE is built).
And you would run this window in parallel or as a subprocess.

--- Using Sikuli Guide
An experimental feature as an extension to Sikuli, that makes it possible to display text, images, frames and buttons in parallel to a running script. The fascinating feature: the elements can be easily attached to visual objects, that you already deal with in your scripts.
If you want to use this, you have to send me a mail to https://launchpad.net/~raimund-hocke, since it is currently not available officially and has no actual documentation.

--- The real challenge 
would be to communicate back the "play/continue/pause" action, since Sikuli currently does not have a feature, to simply pause a script at some point and then continue it.
At least on the Python level, there is no chance to implement something like this without going deep into Java features.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.