Questions tagged [sikuli-x]

SikuliX is an automation tool which uses OpenCV image recognition to record and play user's actions.

SikuliX automates anything you see on the screen of your desktop computer running Windows, Mac or some Linux/Unix. It uses image recognition powered by OpenCV to identify and control GUI components. This is handy in cases when there is no easy access to a GUI's internals or the source code of the application or web page you want to act on.

SikuliX supports as scripting languages

  • Python language level 2.7 (supported by Jython)
  • Running RobotFramework text-scripts is supported
  • Ruby language level 1.9 and 2.0 (supported by JRuby)
  • JavaScript (supported by the Java Scripting Engine)

SikuliX comes with text recognition (OCR) and can be used to search for text. This feature is powered by Tess4J / Tesseract.

80 questions
0
votes
1 answer

Not able to install the Sikulix setup 1.1.3 jar in Linux

Url to download the Sikulix setup 1.1.3 jar : https://launchpad.net/sikuli/+download Command used to install Sikulix setup 1.1.3 jar -->java -jar Sikulix setup 1.1.3 jar While installing sikulix setup 1.1.3 jar, i am getting the error as 'Something…
0
votes
1 answer

org.sikuli.script.SikuliXception: loadlib: opencv_java342.dll not in any libs folder

SikuliX Version: 2.0.4 Note: 2.0.5 is having clash with selenium version 4.0.0. Hence using this version. I did take the image after testing from sikuliX IDE only. Getting the SikuliXception while trying to click an object in webpage. Method:- …
Learner
  • 481
  • 1
  • 15
  • 28
0
votes
1 answer

Sikuli - text not shown correct in IDE

I am usin Sikuli for the first Time. I downloaded Sikuli ide 2.0.4, and jython into the same folder. after running sikuli IDE and writing a text (e.g. click()) the text is shown wrong: image_Text_wrong Did anyone else already had this issue as well?…
StE
  • 11
  • 4
0
votes
1 answer

Sikuli get part of a filepath - Split string

I want to get a number from the filepath of the current file in Sikuli - Jython I have a python example of what i'm trying to achive. In the example the path is: C:\PycharmProjects\TestingPython\TestScripts\TestScript_3.sikuli\TestScript.py import…
Marcus Scharf
  • 55
  • 1
  • 1
  • 5
0
votes
1 answer

Response time with sikulixapi

Im using sikulixapi along with JMeter to automate the workflow. In the JMter log I can see the click events logged with following times in milli seconds. What is this times recorded in the logs? [error] Mouse: not useable (blocked) [log] CLICK…
RJM
  • 271
  • 1
  • 5
  • 32
0
votes
1 answer

Sikuli - How to turn off FindFailed exceptions, setThrowException() not working

I'm using Sikulix IDE v2.0.5 and trying to search on the screen a specific word, then look at his right if there is another specific word. I saw that I should use setThrowException(False) to Skip the FindFailed Exception, but when implementing it I…
Jos B
  • 87
  • 3
  • 12
0
votes
1 answer

Why does Sikulix code not working in JMeter

I have below Sikuli code in the JMeter which is not working. import org.sikuli.script.Pattern; import org.sikuli.script.Screen; import org.sikuli.script.FindFailed; import org.sikuli.script.KeyModifier; import org.sikuli.script.Match; Screen…
RJM
  • 271
  • 1
  • 5
  • 32
0
votes
2 answers

JMeter with sikulixapi

I want to use sikulixapi with JMeter. This is my code in the JMeter Beanshell sampler. import org.sikuli.script.Pattern; import org.sikuli.script.Screen; import org.sikuli.script.FindFailed; import org.sikuli.script.KeyModifier; import…
RJM
  • 271
  • 1
  • 5
  • 32
0
votes
1 answer

Sikuli on Java does not recognize images

I have been trying to automatize some tasks on my computer and did choose Sikuli from Java to do so (I work with Java everyday and didn't know any automation tool using java, sikuli was the first I found). I use java with maven and eclipse as IDE. I…
Hydrochaeris
  • 21
  • 1
  • 4
0
votes
1 answer

sikulix is there any way to run it independently in the background of a machine?

I have been using sikulix for a while writing scripts for tests and general automation, as far as i have seen it is not possible to because silkulix needs keyboard input and a screen. Does anyone know if it is possible to a way to mock thses to…
shiny est
  • 15
  • 4
0
votes
1 answer

SikuliX: my script reacts too slow when detecting the image, how to improve it?

I am making a script that make my character do the fishing automatically fishAppear = "exclamationMark.png" getFish = Pattern("pullBackFishRod.png").targetOffset(2,0) Settings.MoveMouseDelay = 0 # this three lines will click on the fishButton to…
zhinee
  • 105
  • 1
  • 10
0
votes
2 answers

Sikulix : move the mouse to the right

I need to move the mouse after a selection of a picture. The mouse go to the picture but after the mouse need to go to the right and the position of the picture is not always at the same place. How can i move the mouse 50px to the right…
Wags
  • 59
  • 2
  • 10
0
votes
3 answers

Sikulix : Compare a image and a screen of website

I use sikulix and I want to check if a region of a website is red or green. So I have taken a picture of the part of the website when is red (negatif.png) A another region for the check of the color. But it doesn't work. img_negatif =…
Wags
  • 59
  • 2
  • 10
0
votes
1 answer

Visual Automation using Tagui and Sikuli

I was trying to use tagui for RPA but visual automation does not seem to be working. For example when I put the following texts into a tag file: click start-menu.png type page.png as notepad[Enter] The mouse should click on the windows logo, type…
0
votes
1 answer

Fix the find failed issue in sikuli script

I have the following code that always returns a findfailed error when it doesn't find the end_turn image. def clickCards(): # region.wait(end_turn,90) # search for the cards and click all of them if exists(zero): z =…
Mortada
  • 35
  • 4