[1.0] Windows: Want to run test from command line but can't find sikuli-ide.exe or sikuli-ide.bat --- solution

Asked by Eugene S

*** solution

as the docs and relevant readme's show:

to run scripts from command line use
sikuli-script.cmd

---------------------------------------------------------------

I have testing scripts saved in the following manner (A.sikuli, B.sikuli,... are all folders):

C:\Sikuli\Tests\
-----------------A.sikuli
-----------------B.sikuli
-----------------C.sikuli
-----------------ImagesRepoitory.

Inside each folder I have following files:
file.HTML
file.py

I want to run some of my test scripts from the command line and according to the instructions I have to do it in the following way:

PATH-TO-SIKULI/sikuli-ide.exe [options] or
PATH-TO-SIKULI/sikuli-ide.bat [options]

However, I can't locate any executable files in Sikuli folder. Until now I have just used the IDE which extension is *.cmd.
I have tried the following command:
C:\Sikuli\sikuli-ide.cmd -r D:\Sikuli\Tests\A.sikuli

But in this case just the regular IDE GUI opens.

I guess I am doing something wrong. Any idea what?

Thanks in advance!
Eugene

Question information

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

as the relevant docs and readme's should have told you:

C:\Sikuli\sikuli-script.cmd -r D:\Sikuli\Tests\A.sikuli

does the job.

Revision history for this message
Eugene S (shragovich) said :
#2

Thanks RaiMan. Now I can run the script.

However in the below attached FAQ page, it is stated that the following should be used:

 PATH-TO-SIKULI/sikuli-ide.exe [options] or
PATH-TO-SIKULI/sikuli-ide.bat [options]

http://doc.sikuli.org/faq/010-command-line.html?highlight=run%20from%20command%20line

Thanks!

Revision history for this message
Eugene S (shragovich) said :
#3

Thanks RaiMan, that solved my question.