← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #145261]: Sync multiple machines executing event driven testing

 

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

daluu posted a new comment:
This is an interesting topic to track.

As a suggestion, unless you have a really simple test setup &
architecture, or really like to use Sikuli script (mostly as is), I
would suggest you look for a test framework that would support this kind
of testing.

There should be a few out there, but a good fit for Sikuli in this kind
of testing is Robot Framework (RF), simply because it supports Python,
Jython/Java, XML-RPC, and there's already some Sikuli integration for
it.

With RF, you would write your synchronized test as a RF test, with the
calls to Sikuli (as test library) made over XML-RPC as a remote library.
Each XMPP chat client will run an instance of a RF custom XML-RPC server
serving Sikuli API to RF. RF itself is an XML-RPC client, and will be
where you drive and synchronize the testing. Adding additional chat
clients is just adding another remote library XML-RPC server for RF to
call.

Worth taking a look. See these resources:

http://blog.mykhailo.com/2011/02/how-to-sikuli-and-robot-framework.html

www.robotframework.org (read up on framework in general plus remote
library spec)

http://code.google.com/p/simplesikuli/ (Sikuli Java library for RF)


As listed, there's a Java library available but the how to above spells out how to write your own Python/Jython library for RF.

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