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
0 answers

Error: ResourceLoaderBasic: checkLibsDir: Not a valid libs dir for SikuliX: /Applications/setup/libs

I am trying to run a selenium integrated sikuli java application from mac in Eclipse IDE but it is throwing errors. I have added sikuli script, selenium and chromedriver to /Applications/setup path. This application is working in windows but seems…
user3134
  • 21
  • 1
  • 4
0
votes
1 answer

Is it possible to run SikuliX on a host computer and have the script interact with virtual machine?

Currently running Windows 10 (native) and VMware Workstation 12 Player. I am running various LTS releases of Ubuntu in VMware. I am wondering if there is way for me to run SikuliX on my main OS, Windows 10, and have the script interact with a…
0
votes
1 answer

I am trying to use Sikuli in my Selenium Webdriver test but due to image resolution the test is not clicking the image

When performing my test I captured the image of the File Name input field from File Upload windows pop up. The image resolution on my local machine is a bit different from the image resolution on the Windows Server 2012 VM machine so test keeps on…
SKV
  • 133
  • 1
  • 3
  • 14
0
votes
1 answer

Sikuli is not working in some machine

I have tried Sikuli for ui-automation. I have created an image and i tried to perform a click operation. It is working in one PC but while trying in another PC it is not working. I am getting an error "Fail can not find…
ganku007
  • 101
  • 1
  • 11
0
votes
1 answer

Save the screenshot of desktop in Microsoft Word using Sikuli

I am new to Sikuli and I had one doubt. Consider I am using Sikuli and written some sentences in Microsoft Word using Sikuli (by using the editor command). Now I want to take a screenshot of the Desktop and paste in the Microsoft Word file after the…
Muzammil
  • 19
  • 3
0
votes
1 answer

Is there any way to convert coordinates to location object in Sikulix?

I am trying to implement a method to find the center of an image and click at that location. On a normal day I would have tried the getCenter() method of SikuliX. But, this time I need this method to be abstract and work for a wide number of images.…
zeroth
  • 37
  • 2
  • 7
0
votes
1 answer

Sikuli 1.1 making a new Region from an existing Region

Im trying to reuse predefined regions but I get Nonetype error when assigning it to a new variable using sikuli.setW(). Here's my code: import math import sikuli self.screen_reg = sikuli.Screen(0) self.monitor_reg = self.screen_reg self.leftreg =…
vpibano
  • 2,415
  • 1
  • 13
  • 26
0
votes
1 answer

Having Stimuli Pull 2 fields from a CSV for data entry

I'm a complete noob at this as I have not done any coding for a while. trying to make my life a little easier by automating a job I'm doing. I've created a script to input "first name" "last name" but it seems to just pulls the last field from my…
Phillious
  • 1
  • 1
0
votes
1 answer

Sikulix cannot find target image

I am using Sikulix.jar to search images in my project. My code is as follows: Finder f; Match m; Points2D coords = new Point2D.Double(-1, -1); try { f = new Finder(ImageIO.read(new File("my_large_image.png"))); …
Yi Chai
  • 145
  • 5
  • 14
0
votes
4 answers

Command to retrieve browser URL in sikuli script

I am working on a testing tool and am using Sikuli to emulate user requests to the web application. Is there a way for me to retrieve the url in the browser address bar (after clicking on a specific link) ? Any help, pointers into documentation…
maximus 69
  • 1,388
  • 4
  • 22
  • 35
0
votes
1 answer

Image: Image not valid, but TextSearch is switched off

I am working on an automation project using selenium webdriver and sikuli, however when i run the first test i get the following error: [error] Image: could not be loaded: file:/C:/bla/bla/pic/SingInBtn.PNG [error] Image: Image not valid, but…
Ali Hamadi
  • 673
  • 3
  • 11
  • 26
0
votes
2 answers

How to get the coordinates of an image within a region in sikuli?

I am just evaluating sikuli for one of our automation testing. I am trying to execute a script that can find the location of an image in a region. This is the .sikuli script that I have written. match = find("regionImage.png") # The actual image…
user1429322
  • 1,266
  • 2
  • 24
  • 38
0
votes
2 answers

Sikuli Integration with TeamCity?

I have integrated Sikuli with TeamCity, but I have strange error. [error] Location: outside any screen (398055760, 0) - subsequent actions might not work as expected. My report shows me black screenshot! Have you ever encountered this issue ?
Nael Marwan
  • 1,030
  • 1
  • 13
  • 32
0
votes
1 answer

SikulixIDE How do I change to utf-8

I am using SikulixIDE in python, but a can't change the encoding to utf-8. Someone help-me? Settings.MoveMouseDelay=0.0 click("1465260706046.png") sleep(2) type("ação")
0
votes
2 answers

How to find same logos, UI elements using sikulix

I am new to sikuli. I am using it for functional test automation of my java spring standalone application. I am having the same set of images(logos) at multiple locations on the screen. and they are generated dynamically as per the application data.…
sat_yug
  • 187
  • 3
  • 17