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

Sikuli, Java & Selenium - How to detect image background colour change?

Looking at Sikuli (in conjunction with Selenium) as a possibility for automating the more visual elements of our UI testing, in particular issues that may crop up when the expected branding is not applied. In my test, I have a white navigation icon…
DaftMule
  • 77
  • 8
2
votes
2 answers

Appium along with Sikuli for Mobile App testing

I was trying to use Sikuli for Image Identification along with Appium. So, when I tried finding an image after launching app on device using Appium, but Sikuli returned an error saying, "cannot find img/x.png on the screen". Note: I want the test to…
ukpillai
  • 313
  • 2
  • 6
2
votes
2 answers

Sikuli scripts without images - Static applications

Sometimes we don't need to capture and use images for automating Desktop based application. We can simply use tab and Enter keys to achieve our task. But in some cases we need images, for example radio button, option selection, check box, etc. Is…
mahinlma
  • 1,208
  • 3
  • 11
  • 24
1
vote
1 answer

Possible causes are invalid address of the remote server or browser start-up failure

I use Eclipse IDE, selenium-java v4.8.3, and after I added the SikuliX API version 2.0.5 in my dependencies, I encountered this error Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: >Could not start a new session.…
1
vote
1 answer

Sikuli click on the wrong thing

Hello I'm writtin a script with Sekuli. But when I write example: screen.click(test.png). It happens that Sikuli just click on the wrong screenshot. I don't understand why. How can I tell to Sikuli to be more accurate ?
Koda
  • 27
  • 6
1
vote
1 answer

Sikulix - exists function has timeout?

i have a sikulix code with 5 if statement like this : if exists("1642200162130.png"): It enter in only one if statement, where there is only one click() click(Location(me.x + paddingx, me.y + paddingy)) For a complete run, the scritp take…
Valentin Garreau
  • 963
  • 1
  • 10
  • 32
1
vote
3 answers

Pause main program during event handler Sikuli

I have an Observer running in background forever, that is looking for a specific pattern, and will call the handler rdp_handler when triggererd: onAppear("1615387075076.png", rdp_handler) observeInBackground() The handler is supposed to wait…
Ben
  • 25
  • 6
1
vote
2 answers

SikuliX cannot call makeOpts()

I am working on sikulixide-2.0.5 on windows. Now I would like to utilize user properties write/read functions to implement persistence of application parameters, So that I am learning as the part of reference shown :…
Ju-Hsien Lai
  • 643
  • 7
  • 14
1
vote
0 answers

Handle windows Alert..(electron base desktop application) in selenium web driver

I am automating desktop application. The application is base on an electron so I can easy to get XPATH and other things like a web application. But I am stuck on windows alert. I am trying a robot class. but a key event not supporting in electron…
1
vote
1 answer

Sikuli script does not run on Linux

My SikuliX script run on Windows10. However, under Linux (Debian 7.11), the script only opens my application and refuses to continue to execute the remaining script. I tried running on SikuliX versions 1.1.4 and 2.0.1. Gives an error…
Paul
  • 11
  • 1
1
vote
0 answers

Sikuli compiled jar file script running on other pc (requirements)

I could not find clear answer to this, I would need to know what is needed to run compiled sikuli script on other computer.I have a sikuli jar script that I transferred to one of our pcs at work and I expected this to run since I sucessfully…
1
vote
0 answers

Sikulix administrator right issue

I need to add to my selenium script a sikulix script to do a task that selenium can't do. When I run bellow script C:\Sikulix\\runsikulix.cmd -r C:\Sikulix\Scritps\WorkFlow.sikuli from normal or elevated CMD it works fine. But when I run it from…
Adrian
  • 149
  • 3
  • 16
1
vote
1 answer

App open opening multiple window in sikuli

Hello guys I loved this sikuli but I found one issue related to app.open as well as app.focus Here is my code my code has single line to test wheater app.open or focus open single instance App.open("C:\\program file\internet…
bipin
  • 421
  • 8
  • 21
1
vote
0 answers

How to run sikuli script through Python script

I want to run sikulixIDE-1.1.3 generated script through Python IDLE but don't know how to add in Python script. I have generated file sikuli_script.sikuli using sikuliXIDE-1.1.3. Through Python IDLE, I opened application but the next step is I want…
1
vote
1 answer

Clicking on Image using Sikuli and Env.isLockOn(Key.NUM_LOCK) not working

I am trying to Click on image and also i need to check if NUM_LOCK is on or off if it is on i need to switch if off and for that i am using below sikuli script and running it using executescript command of seleniumDriver code is as below but its is…
Nitin Rathod
  • 159
  • 2
  • 15
1
2
3
9 10