← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #212373]: How to make a batch script?

 

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

    Status: Open => Answered

j proposed the following answer:
If you just want to run a bunch of sikuli scripts, try this:

FOR /D /R %%A in (*.sikuli) DO (
    echo Running Test: %%A
    "C:\Program Files\Sikuli X\Sikuli-IDE.bat" -s -r %%A 
  )

This will run all sikuli scripts in the execution directory and any
subdirectories of it.

If the scripts are testcases, just replace the -r with -t. 
You can read how to make unit tests here: http://sikuli.org/docx/faq/020-unit-test.html

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