Placing Sikuli script in a queue

Asked by marc

I'm trying to understand how to take a group of sikuli scripots and have them play one after another in a queue and be able to report if there are errors with any of the scripts. Also is there a complete list of commands somewhere? I've seen drag and drop implemented two different ways and I've also come across sikuli ide as apposed to doing it in power point. Need clarification.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

It might help if you simply start here:
http://sikulix.com

Revision history for this message
Eugene Maslov (emaslov1) said :
#2

Dear Raimund,
Creating the structure of files, which can run the tests in an unittest queue, is not simple from scratch, especially if the user has to transfer parameters.
I suggest, it would be fine to have some little official archive of sikuli files with the simple sample of a queued test.

For example:
  - start.sikuli hub script, receiving some general parameters from the command line, collecting the suite of tests with their own parameters, and running it with HTMLTestRunner;
  - tempate.sikuli containing __init__ with parsing coming parameters , some setUp, and some tearDown
  - test.sikuli containing __init__ procedure to process coming parameters, some simple test itself, and __name__=='__main__' block at the bottom, allowing to debug the test from Sikuli IDE when necessary.

This tiny archive would save huge time of people getting familiar with Sikuli, because normally it's really difficult for testers to write this object-oriented skeleton.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

@Eugene
Thanks for the proposal.
I will make this a request bug for version 1.2.

Can you help with this problem?

Provide an answer of your own, or ask marc for more information if necessary.

To post a message you must log in.