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

When I run SikuliX IDE SikuliX starts but gets stuck with this pop up on screen: "SikuliX-IDE 2.0.4 is starting on Java 11"

I am new with Sikuli. When I run SikuliX IDE SikuliX starts but gets stuck with this pop up on screen: "SikuliX-IDE 2.0.4 is starting on Java 11". How can I solved this problem?
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
1 answer

jython zxJDBC UCanAccess Driver Class?

Trying to get the combo jython-zxJDBC-UCanAccess working on my Windows machine; been driving me nuts the entire day as I keep getting zxJDBC.DatabaseError ( driver [net.ucanaccess.jdbc.UcanaccessDriver] not found ), and zxJDBC.DatabaseError ( driver…
Woody Chan
  • 59
  • 1
  • 10
0
votes
1 answer

Sikuli is unable to recognize image taken by snipping tool with the one on the screen while running auto testing

I am very new with Sikuli framework. I am trying to use Sikuli for GUI testing. I have taken the screen image shot using snipping tool for gmail login page and the same image i am using while running the test cases. But it seems somehow, Sikuli…
Rohit
  • 406
  • 1
  • 5
  • 21
0
votes
1 answer

if condition for java sikuli is not working

I am writing scripts using Java-sikuli, and trying to use if condition as follows: if(screen.exists(gameIsInProgress) != null || screen.exists(waitingFormorePlayer) !=null) { screen.click(settingsOnGameWindow); …
0
votes
1 answer

Is there any way to use python libraries like pandas etc to Sikuli script? Or can I run Sikuli .py file through any python interpreter?

Is there any way to use python libraries like pandas etc to Sikuli script? Or can I run Sikuli .py file through any python interpreter? I have written a script that runs through SikuliX UI using run button as well as through the command line eg…
0
votes
1 answer

Python - Trying to find if a sikuli script is running at the moment

So I have a sikuli script running which monitors and executes a said action every 10 minutes continuously. However for various reasons sometimes the run is interrupted and there is no way to alert if the script stops running. So I tried running a…
Dennis
  • 19
  • 3
0
votes
1 answer

How to get rid of installing OpenCV in Ubuntu which is needed by SikuliX API

I have bundled the SikuliX 2.0.3 Jar in my java application. At run-time, this jar file needs access to the OpenCV library from java.library.path. So, I need to install OpenCV on the library path (/usr/lib). I wanted to know if is there any way I…
0
votes
0 answers

Terminal not running scripts with jruby

This is my first time using both JRuby and VS Code. I'm working on a project for an internship and had opened the folder for the cloned repo in VS Code. I was able to run the Ruby scripts that were already present with no problem yesterday, but now…
0
votes
1 answer

How to switch from a desktop app view to a webview using Sikuli

When I click on a button from desktop application, its opening chrome browser. how can I switch to desktop to webview and back to desktop application.
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

Sikuli script stopping randomly

I have a simple SikuliX script that I'm using to automate some simple testing tasks on a game. The script is just a infinite while loop that makes some clicks and drag/drop some stuff on the screen. It runs normally but sometimes, for no reason…
Fnr
  • 2,096
  • 7
  • 41
  • 76
0
votes
3 answers

SikuliX error message in Eclipse - Ubuntu - [error] ImagePath: find: not there: imgs/spotlight.png FindFailed: imgs/spotlight.png: (0x0)

I've just installed SikuliX(sikulixapi-2.0.4.jar) and Eclipse Oxygen under Ubuntu 16.04. The testing program is the following : import org.sikuli.script.*; public class Test { public static void main(String[] args) { Screen…
Space
  • 880
  • 3
  • 11
  • 22
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

SikuliX + python, getting weird NameError after editing of imported module

I found a weird behavior of SikuliX + Python. My main application runs without any problems... But if i do any changes in imported module i got error NameError: name 'myLib' is not defined If i restart my SikuliX program everything is okey…