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
0
votes
1 answer

Sikulix wait until image not appear anymore i.e page still loading

I am a new Sikulix user. I have learned how to wait until image appears on screen. But the issue is how to wait until an image is not visible any more. In below code when "nextbutton.jpg" is clicked a loading message appears "progress..." I want…
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

How to uniquely identify an image in sikuli on windows 10. I'm getting an exception

I have two similar images, one image is on the left and one is on the right hand side of the screen. I want to click on the image on the left. My idea in the code is to create a region for the image on the left then click the image on that region…
rich25
  • 37
  • 11
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

Measure the time in sikuli

I am trying to automate and measure the performance of an application and some use cases .The application launches the remote server through the VNC and do some user actions on the remote server. We are planning to use sikuli with python for this…
RJM
  • 271
  • 1
  • 5
  • 32
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
1 answer

Sikuli - Configuration in scripts 1920x1080

Why is it necessary to provide a configutaion in sikuli scripts like 1920x1080? And is it mandatory to provide 1920x1080 configutaion only ? Can we provide some other configuration for new scripts in our existing code where some scripts are designed…
0
votes
0 answers

To pass the images via http url in sikuli

I just like to know, is there any way the user can pass the images via HTTP url in sikuli ?. I tried by using ImagePath.addHTTP("https://drive.google.com/"); but it doesn't work.
0
votes
1 answer

In Sikuli, can we search an image in UI webpage with a word/text that is displayed in the image content?

I am using Serenity with Selenium to automate a webpage having images (list of large thumbnails). I am checking if there is an option to search in the UI with a text/word that is displayed in the image content. For example: I want to find if the…
0
votes
0 answers

Caused by: java.lang.NumberFormatException: For input string: "." in SIKULI

I was trying to run my code then add sikuli in my selenium project in order to click the allow in flash player settings. I need to click the allow in flash player settings. Screen s = new Screen(); Pattern allowImg = new…
0
votes
1 answer

Sikuli IDE Error - javax.script.ScriptException " is not defined in nashorn:mozilla_compat.js at line number 69

I'm working on a simple Sikuli Script. The script is simply one line shown below click() The following error is produced? javax.script.ScriptException: ReferenceError: "Commands" is not defined in nashorn:mozilla_compat.js at line number 69 I…
ffejrekaburb
  • 656
  • 1
  • 10
  • 35
0
votes
1 answer

Selenium Java - How to call a class from different class

I am new to Selenium and I need help whatever I can get. I will try to provide detailed info as much as I can. I need to call the object imgBtn01 or imgBtn02 inside the FIRST Class (ImagesRepo) from the SECOND Class. The reason I want to separate…
jyllana24
  • 1
  • 1
0
votes
1 answer

Problems using pyd files on Sikuli IDE

I'm trying to use the pyodbc package on Sikuli IDE, but I'm running into some issues because it seems that Sikuli cannot identify pyd files. I placed the pyd file in the Sikulix\Lib folder, but when I try to import it, I keep getting the message…
user3175024
  • 41
  • 1
  • 1
  • 5
0
votes
1 answer

Restart Sikuli script after error - calling from command line

If I run a script manually from the IDE and it errors out somewhere, I am able to just hit Run again and it continues from where it left off. If I call a script from command line, is there any way to do this? Running it from command line does not…
Alex
  • 69
  • 1
  • 5
0
votes
2 answers

how to click an image from the screen by using Sikuli with java when there are two exact identical images present in the screen

I have 2 exact same images (pattern, color, size ,everything is same) on the screen and in this case how do I click on Image 1? Whenever I am using the s.click() function, Sikuli tries to click on Image 1 some times and sometimes on Image 2. I have…
Nithya
  • 1
  • 2