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

Harry Readinger proposed the following answer:
Pre-reqs should just be having python and sikuli installed, and have a
Debug.log/Error.log at the paths you specify on the filehandler.

as long as the master script can find the scripts it needs to run, Then
it should be OK.

NOTE: this handling framework was built for scripts that have their
functionality broken down into functions

For example:

def DoSetupAction:
    stuff

def DoMainTestAction:
   stuff

def DoCleanupAction:
    stuff

theTests = [DoSetupAction, DoMainTestAction, DoCleanupAction]


ALso as a note, because i need to say it:  This is not necessarily the best way 
to do logging if all you need is a really quick and dirty method on small 
individual scripts.   This framework was written to automate an arbitrary 
number of scripts and log their results.  It has worked for what I need it for. 
 Logging is really simple to implement by itself as well, but gets cumbersome 
to do it for every script, assuming you are running multiple in succession.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to