Questions tagged [sikuli-script]

SikuliX = Sikuli IDE + Sikuli Script So, Sikuli Script = SikuliX - Sikuli IDE

Sikuli automates anything you see on the screen. It uses image recognition to identify and control GUI components. It is useful when there is no easy access to a GUI's internal or source code.

Sikuli was an open-source research project at the User Interface Design Group at MIT.

For details: http://www.sikuli.org/

143 questions
4
votes
1 answer

Sikuli cannot find image on screen through Jenkins

I have a maven project setup to run my JUnit tests. I am utilizing Sikuli to click on certain images on the screen. When executing my test using the "mvn test" command in a terminal or through Eclipse it will work. I now have to integrate these…
user7548672
4
votes
2 answers

How to get sikuli-script.jar for Windows 64 bit machine

I have downloaded sikuli-setup.jar and successfully able to install it. I am able to run sikuli from GUI but I want to run sikuli script from eclipse which require sikuli-script.jar. Please let me know the location or way to download it.
Varun
  • 59
  • 1
  • 3
  • 7
4
votes
5 answers

Sikuli logging settings

I'm using sikuli-script.jar in my java application. It writes a lot of logging messages in the console. So, I want to disable logging or change the logging level. How I can do this? What logging library is used there and how it can be configured?
NullPointer
  • 924
  • 14
  • 27
3
votes
3 answers

Converting a string and a int into a variable Python

I am currently creating a loop with sikuli. My problem is that i have a fixed variables that will go up to 15 with only the numbers changing at the end. I was looking for a way to combine the string component that is fixed with the integer which…
3
votes
0 answers

Sikuli4Net Unable to connect to remote server c#

I need help, I followed all the steps correctly and examples but I did not find solution to this error. No connection could be made because the target machine actively refused them 127.0.0.1:8080. Firewall disabled vs 2010 net 4.0 SIKULI_HOME…
3
votes
1 answer

Dual monitors in Sikuli

I'm using Sikuli (sikulixapi-1.1.0). I have 2 monitors. When I use my primary monitor, everything is ok. When I also use the second monitor, it does not work. I make a screenshot on the second monitor and I wrote this: Screen s = new…
Zang Zung
  • 31
  • 2
  • 7
3
votes
2 answers

When I use captured images with SikuliLibrary, is there a way to make my tests support multi platforms in RIDE?

I have a problem while using SikuliLibrary because my tests should be run on both Windows 7 and Windows 10. How can I proceed? Some images are the same but sometimes there is a big difference so that it's impossible to find it. What do you suggest?…
Emna Ayadi
  • 2,430
  • 8
  • 37
  • 77
3
votes
0 answers

How to make variable a string in Sikuli

I'm using sikuli in Liunux to try to type in a password. class Library(object): def type_password(password="") type ("password_picture.jpeg", password) I run this piece of code by typing this into the command prompt java -Xmx512M…
royalblue
  • 439
  • 2
  • 8
  • 18
3
votes
1 answer

How to get the coordinates of an image in Sikuli?

I have this GUI on our project (please bear with my illustration, I'm not allowed to take a screenshot at work) ---------------------------------------------- (1) Header …
vpibano
  • 2,415
  • 1
  • 13
  • 26
3
votes
2 answers

Typecast int variables to strings in Jython for use in Sikuli

I want define a path using the looping variable like this: for i in range(2,4): click("1480530304554.png") wait("1480531095180.png") type("cd D:\ISB\Pairs\" + str(i) + "\Acq\" + Key.ENTER) This typecasting does not work in Sikuli…
user248884
  • 851
  • 1
  • 11
  • 21
3
votes
2 answers

How to handle Scroll bars while developing test scripts in Sikuli for automation

I am automating a page which is designed in Flex, so i am writing scripts in Sikuli. Now i want to move the scroll bar up and down. Can anybody help me?
user5189426
  • 41
  • 1
  • 2
2
votes
1 answer

Find the co-ordinates of matching image using sikuli in java

I need to get the co-ordinates of matched image within the actualImage so that I can perform operations on it. However, I tried below two approaches,but both doesn't seem to work: Approach 1: Using below, I'm able to find a match but co-ordinates…
nagpai
  • 169
  • 1
  • 3
  • 15
2
votes
0 answers

How to call OpenCV in Sikuli/Jython?

I'm aware that Sikulix uses Jython and OpenCV for it's template matching, but I'm interested in performing some more complicated image processing tasks. Is it possible to directly access OpenCV in Sikulix/Jython, and are there any examples of how…
Booley
  • 819
  • 1
  • 9
  • 25
2
votes
1 answer

ImportError for cv2 with lackey in a virtualenv

Big picture is In Windows 7, lackey installed with pip in a python3.6.1 virtualenv created with a python2.7.2 interpreter from an unpacked .tar.gz of virtualenv15.1.0 can't import the cv2 module. Context / Environment In Windows 7 (x64) with…
2
votes
1 answer

Sikuli X run application with given path

Is there a way to run an application from java code when using sikuliX? For example autoIt had a method Run("C:\Folder\YourFavouriteExecutionFile.exe"); I am looking something like this in Sikuli X. Any suggestions?
user4887078
1
2 3
9 10