Sikulix

Posted on Nov 8, 2024

SikuliX Setup Guide

Dependencies

General Requirements

  • Python: Version 3.8+
  • Java: Version 8+

Installation on Debian-based Systems

sudo apt-get install python3
sudo apt-get install openjdk-11-jdk
sudo apt install tesseract-ocr

Download sikulix here

For download jython-standalone-2.7.4.jar

add jython-standalone-2.7.4.jar to the folder where sikulix.jar is , after running sikulix jython-standalone-2.7.4.jar will be automatically moved to ~/.Sikulix (for linux)

Start the app

Run the following command to start SikuliX:

java -jar sikulixide-2.X.X.jar

Possible issues

Wayland Compatibilty

  • incomplatibilty with wayland

  • to resolve this problem you should disable wayland and use x11

  • to check if you are using x11 or wayland use command

echo $XDG_SESSION_TYPE

If you are using Wayland Disable Wayland and switch to X11

  • for Gnome Edit etc/gdm3/custom.conf
sudo nano /etc/gdm3/custom.conf

Set: WaylandEnable=false Save and restart GDM: sudo systemctl restart gdm

-for KDE edit /etc/sddm.conf: add or change section:

[General]
Session=plasma-x11

Save and restart SDDM:

sudo systemctl restart sddm

Install robot framework for testing tests

pip install robotframework
pip install robotframework-SikuliLibrary