← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #221638]: GUI front end to select functions to run?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
a GUI for that might be oversized.

- 1. use command line args and run script from command line

Sikuli-IDE.bat -r myscript.sikuli --args test1 test5 test7

and scan sys.argv in your setupStuff and set some variables to control
what is run

- 2. use an option file (which might be more flexible)
easiest file setup:
*test1
test2
test3
test4
*test5
test6
*test7

the lines beginning with a * are the tests to run.
you might even add options for the tests on the specific line

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