← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #257973]: Sikuli Running Remotely

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The easiest way to run Sikuli scripts on a remote machine is to use XML-
RPC communication.

On a remote machine (PC 2 & PC 3) you have a prepared SikuliX
environment (at least Java must be available, the rest are simply files
- nothing to install), that runs a XML-RPC server, prepared to accept
script run requests. The scripts then are run in the server context.

on the client side (your PC 1) you run scripts, that push the script-run
requests via XML-RPC client to the server on the appropriate remote
machine and might handle the results.

It sounds complex, but indeed is very simple.
The basics can be found here:
http://www.jython.org/docs/library/simplexmlrpcserver.html#simplexmlrpcserver-basic-xml-rpc-server
http://www.jython.org/docs/library/xmlrpclib.html#xmlrpclib-xml-rpc-client-access

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