Need help in Scheduling the job using SikuliX

Asked by Pavan

HI Team,

I am unable to schedule the job using SikuliX on Windows 7 Enterprise . I am using default Windows Scheduler to achieve same.

Sikuli Version : 1.1.0

Job Description :

Step 1. Open Up IE broswer .
Step 2. Navigate to URL.
Step 3. Key-in credentials.
Step 4. Find LogOut
Step 5. Log out from the Application.

Schedule Method :

Windows Task scheduler :

Program : "D:\sikuli\runsikulix.cmd"

Parameter(Add arguement) : -r "D:\sikuli\pcssikulipack-04112015.sikuli"

Error Description:

[log (08/01/16 20:10:31)] ( Meta ) TYPE "r"
[log (08/01/16 20:10:41)] App.open [5288:]
[error (08/01/16 20:12:42)] script [ D:\sikuli\pcssikulipack-04112015.sikuli ] stopped with error in line 18
[error (08/01/16 20:12:42)] FindFailed ( can not find 1446282424321.png in R[0,0 1024x768]@S(0) )
[error (08/01/16 20:12:42)] --- Traceback --- error source first
line: module ( function ) statement
57: Region ( wait ) Line 2189, in file Region.java
[error] --- Traceback --- end --------------

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
Katy (katymagowan) said :
#1

You could create a batch file that contains the Sikuli run command:

D:\sikuli\runsikulix.cmd -r "D:\sikuli\pcssikulipack-04112015.sikuli"

Then in task scheduler, tell it to run this batch file that you created.

That's what I did with my scripts and it works perfectly.

Can you help with this problem?

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

To post a message you must log in.