← Back to team overview

sikuli-driver team mailing list archive

[Question #173786]: Executing Sikuli API commands from command line and integration with other tools

 

New question #173786 on Sikuli:
https://answers.launchpad.net/sikuli/+question/173786

Thought I'd share this since it seems most people only know or think of using Sikuli from command line to execute Sikuli scripts.

But that seems kind of overkill if you are doing integration with other tools and/or particularly only need to execute one Sikuli command at a time. Having to write a script for each command seems overkill.

The other option is to use the Java, Python APIs, but then not everyone is a programmer or pro scripter.

So I was thinking of use case where someone might want to use Sikuli's features, but doesn't know much of (and perhaps doesn't want to have to learn) Java, or Python, or Jython, and/or major scripting in general. 

And they may want to integrate with other external tools and such like with batch files, VBScripts, QTP, Selenium RC (in non-Java and Python platforms).

The suggestion I've come up with and provide as one solution is to have a wrapper to the Sikuli APIs that exposes a command line interface to execute one API command at a time. Useful for debugging Sikuli and tests that use Sikuli.

However, my solution only provides a subset of Sikuli functionality, what I think is the 80% rule of most often used features. Others can extend it for the remaining 20% of advanced features less used.

Feel free to evaluate and use if you fall under the same camp as me who like having CLI API type interfaces to tools.

Project site
http://code.google.com/p/simplesikuli/

Usage info for the command line tool/interface
http://code.google.com/p/simplesikuli/wiki/UsageDetails

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