Questions tagged [sikuli]

Sikuli is a Java based automation tool available for Windows, macOS and Linux that automates tasks using screen visual inspection. Sikuli operates by matching previously taken screenshots and emulates user interactions by taking control of mouse and keyboard. The biggest Sikuli advantage is being available for both Desktop and Web Applications as it doesn't require any API.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Is it possible to track a rotating object using Sikuli?

I want to make a sikuli script that can track a object that rotates and hides behind another object, just like a "find the ball" game. Is it possible? If it is, how can i achieve it? Maybe ...
0 votes
2 answers
22 views

Pyjnius + Sikuli + MacOS: hangs when we try to create object of Screen class

On MacOS Monterey open the python3.9 in shell with pyjnius libary installed and sikuliapi 2.0.5 library jar added to CLASSPATH. from jnius import autoclass # works fine Screen = autoclass('org.sikuli....
0 votes
1 answer
22 views

Robot Framework Sikuli test on VM not starting when triggered through SSH

I have a Sikuli script written in Robot Framework on a Windows VM (Machine-A) to automate a desktop application.This VM has RF and the Desktop application installed.When triggered from this VM locally ...
1 vote
1 answer
40 views

webbrowser library is not working as intended on SikulixIDE

On SikulixIDE, the library webbrowser always open the default browser, even when i use the get method, i tried my code on regular python, it does work. Anyone know why it is reacting like that ? ...
0 votes
0 answers
46 views

BufferOverflowException in java threads

Receiving an exception "BufferOverflowException" while running sikuli script via threads. The same script works properly without thread object. I have no clue what causes the ...
  • 115
0 votes
1 answer
46 views

NameError: name 'ResourceWarning' is not defined

java version "1.8.0_311" Python 3.10.8 Sikuli:- <dependency> <groupId>sikulixapi</groupId> <artifactId>sikulixapi</artifactId> ...
  • 115
0 votes
0 answers
49 views

No connection could be made because the target machine actively refused it. [::1]:8080 --- C# Selenium Test Using Sikuli

When I use Sikuli in C# Selenium I am getting below error System.Net.WebException : No connection could be made because the target machine actively refused it. [::1]:8080 (localhost:8080) ----> ...
0 votes
0 answers
38 views

Is SikuliX 2.0.5 compatible on RedHat 8?

We’ve been trying to get SikuliX 2.0.5 to run on a RHEL 8 system, and not having much luck. We went through the instructions on this webpage: https://sikulix-2014.readthedocs.io/en/latest/newslinux....
0 votes
1 answer
34 views

Best way to share SikuliX scripts (and OS friendly)?

I have a Sikuli 2 script which is composed of: an app.sikuli directory with a app.py in it and several Things.png images Most of this structure was auto generated by SikuliX while I was creating the ...
  • 717
0 votes
0 answers
259 views

Error mouse: not useable (blocked) on executing sikuli automation script remotely

we have two servers, say server A and server B (Windows). I am executing a skuli script present in server B from server A using power shell script: $scriptblock = { D: cd ssedesktopautomation mvn ...
  • 11
0 votes
0 answers
17 views

Unable to read image text in a region on Azure Windows Server

My local mechine environment is Windows 10 x64 , java 8, tess4j version 4.5.4, latest version of Sikuli java api, the latest Sikuli IDE, I don't have Tesseract installed, I don't have Opencv installed ...
0 votes
1 answer
41 views

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 ...
1 vote
1 answer
48 views

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 ...
  • 27
0 votes
1 answer
42 views

Sikuli: How to prompt programatically to capture a region and save it as png in cwd

Instead of providing beforehand all the images as png to find UI elements on screen, I want to have an option for user to capture the region first time the program is run. For example, when program ...
  • 409
0 votes
0 answers
39 views

Using Photo-Excel to insert a screenshot into Excel using RobotFramework+Sikuli+Python+Visual Studio code

I am building a framework to automate a java applet application. As the name indicates, this application doesn't have any HTML. Using Robotframework-Selenium along with Sikuli to automate. I am ...
0 votes
1 answer
38 views

Web Panel for Sikulix Bot

I have created a game bot with SIKULIX, is it possible to create a web panel or dashboard that controls the bot I created from SIKULIX? if yes, how to do that
0 votes
1 answer
100 views

Jenkins maven build test failure for Sikuli dependency with Selenium

I have created Maven project in eclipse with Selenium & TestNG to create automation test scripts which I want to execute from Jenkins. I am getting below error while building it. Failed to collect ...
  • 1
0 votes
2 answers
142 views

"sikuli java stderr" files saved in test - Robot Framework with Sikuli

how are you? I'm have a question. Could you help me? I'm using Robot Framework (version 5.0, Python version 3.9.11) with Sikuli (version 2.0.5). Operating System: Windows 10 Pro. I'm sending the ...
  • 21
0 votes
0 answers
56 views

Try to win time with wait pattern

The setup is this one. Open a website (copy paste a address from excel) : works Wait 15 sec When the website is full upload : if exist IMG1 wait(15) if exists("1659164033710.png"): type(...
  • 39
0 votes
0 answers
96 views

Wrong Get Text Keyword - Robot Framework with SIkuli Lib

Good Morning! I have a little problem. Could anyone help? I'm using Sikuli with Robot Framework. I have an image saved and I would like to query the same image in the system to obtain and validate if ...
  • 21
0 votes
1 answer
72 views

getting FindFailed issue in sikuli for image on windows server 2019 (ADO VM)

Getting below error when running script on window server 2019 (ADO VM) through pipeline , same script is working fine on windows 10 (having resolution 1920X1080). I am using screen resolution utility ...
0 votes
1 answer
50 views

Error using "Click In" Keyword - Robot Framework with Sikuli Lib

I have the following problem using Robot Framework with Sikuli Lib: When using the keyword "Click In" I get an error. I don't know what it could be. Could they help? Error: org.sikuli....
  • 21
0 votes
1 answer
2k views

Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver

Chrome Version: 102.0.5005.115 Chrome Driver version: 102.0.5005.61 (32 bit) I am getting the following error after adding sikuliX dependency in my pom.xml. I have no clue on why issue arises when ...
  • 471
0 votes
1 answer
81 views

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: ...
  • 11
0 votes
1 answer
107 views

Python While Loop - Variable Not Updating across Functions

My goal is to press a keyboard key, which activates a function which should update a variable within a while loop which is in a broader while loop. I am using Python and some features of Sikuli (...
0 votes
1 answer
97 views

"Exists" keyword with false positive result - Robot Framework with Sikuli

The "Exists" keywords is it assertive? I added this keyword in my test (the objective is failed test, because i put a different image of the displayed screen), but the status is passed! ...
  • 21
0 votes
1 answer
280 views

Error running test using Robot Framework with Sikuli

I have a question/problem. Could you help me? I'm automating tests using Robot Framework with Sikuli. When i run my first test, i get the following message: java.lang.ExceptionInInitializerError: null ...
  • 21
0 votes
2 answers
531 views

Open desktop application by command without using Sikuli Library - Robot Framework

Folks, I searched the Sikuli library (Robot Framework), but I didn't find what I needed. The documentation is http://rainmanwy.github.io/robotframework-SikuliLibrary/doc/SikuliLibrary.html#Open%...
  • 21
1 vote
0 answers
131 views

visual studio with c# SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080 error

I am getting this issue: No connection could be made because the target machine actively refused it 127.0.0.1:8080.I use Sikuli4net library but scrn.click dont use metod namespace deneme; using System;...
  • 11
0 votes
1 answer
131 views

How to run Robot Framework/Sikuli test cases with Jenkins?

I am trying to run some automated tests for desktop apps. The code is written in Robot Framework and Sikuli. If I run them from command line, it is okay, but when I try it from Jenkins it is not. Here ...
0 votes
1 answer
91 views

FindFailed: /Users/sgantayat/Documents/Screenshots/Sikuli/Login.png: (756x124) in R[0,0 1680x1050]@S(0)

Getting below error while running the sikuli code in macbook pro Calling login method!!! Login screen display Starting ChromeDriver 100.0.4896.60 (6a5d10861ce8de5fce22564658033b43cb7de047-refs/branch-...
0 votes
1 answer
163 views

Can't run SIKULI script from executable and command line because methods are not defined(doubleClick() is not defined)

I am trying to create a standalone executable to run in other machines that do not have python, jython or sikuli installed. I have coded this SIKULI script with Jython by following the tutorial here. ...
  • 3
0 votes
1 answer
114 views

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\...
0 votes
1 answer
310 views

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 ...
  • 37
1 vote
1 answer
321 views

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

How to type a text very fast?

Im trying to type a text detected by OCR very fast. At the moment the typing is kinda fast but I would like to type it instantly if possible. I heard of Settings.TypeDelay but it does the opposite of ...
0 votes
1 answer
167 views

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 ...
  • 87
0 votes
0 answers
102 views

Chrome is throwing a credentials window or a proxy pop up before we hit the url through Selenium Java

As soon as we hit chrome, sometimes, a proxy credentials window/pop-up appears before we hit the URL through Selenium Java. This is stopping script run. FYI, username:password@url is not working since ...
0 votes
1 answer
128 views

Issue using Sikuli Pattern on Mac OS

I am trying to perform a small calculation as part of my selenium learning with Java, Sikuli using Eclipse IDE. My Code is as below: package webelements.concepts; import org.sikuli.script.FindFailed; ...
0 votes
1 answer
74 views

Sikuli opening windows start menu without reason

Im trying to create a script that works on two differents windows simultaneously, but everytime the script clicks, it opens the windows start menu without reason which hides part of my screen and ...
0 votes
1 answer
423 views

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

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

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....
  • 55
0 votes
1 answer
2k views

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 ...
  • 39
0 votes
3 answers
225 views

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. ...
  • 39
0 votes
1 answer
42 views

Why sikuli desktop operation not working while running jar with ec2 startup script?

I have created windows AMI and in user data I am running command to run jar file, but jar running as a service when instance starts and jar unable to perform desktop click with sikuli. Same jar run ...
0 votes
1 answer
331 views

Need to check how to use sikuli with Selenium in Docker

I am using Selenium and Sikuli in Windows and Ubuntu in Java programing. For example, I am giving other sample code. package com.sikuli.demo; import org.openqa.selenium.By; import org.openqa.selenium....
0 votes
0 answers
44 views

Any idea how can I Insert a table (with rows and Columns) in word using Sikulix command?

Any idea how can I Insert a table (with rows and Columns) in word using Sikulix command? I am able to do till insert table but not able select the rows and columns. Neither Take screenshot nor Insert ...
1 vote
0 answers
341 views

Capture Screen/Windows from Virtual Desktop where we are in main desktop using c#

I am creating a multi desktop application that create and open many desktops in the windows user session,To do this i am using Win32 functions like CreateDesktop,SwitchDesktop, OpenDesktop..Etc. and ...
0 votes
1 answer
254 views

Sikuli Open JDK 11 - Caused by: java.lang.NoSuchMethodError: org.sikuli.script.Finder.<init>(Ljava/awt/image/BufferedImage;)

java.lang.reflect.InvocationTargetException: null at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[ ? : ? ] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(...

1
2 3 4 5
18