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

Inconsistency when using Sikuli to recognize text

I'm using Sikuli to create automated tests for an application. Text recognition is sometimes inconsistent so I have to use screen captures instead of text. While trying to find a solution I found out that if I obtain the text in a specific region I…
0
votes
1 answer

Is this the correct syntax for CMD Shift Down?

Is this the correct syntax for CMD + Shift + Down in Sikuli? type(keyDown, KeyModifier.CMD | KeyModifier.SHIFT) I've already tried the following but they don't seem to work: type(keyDown, KeyModifier.CMD + KeyModifier.SHIFT) type(KeyModifier.CMD,…
KRS77
  • 40
  • 1
  • 10
0
votes
1 answer

How do I write a test in JavaScript using the Sikuli library?

I am looking to drive a macOS application like Calculator. I have pulled down the Sikuli jar file from Maven. I have watched the Joe C. video on this using Java and Eclipse. I am looking to do this in IntelliJ and to use JavaScript instead. This…
0
votes
1 answer

How do I add Sikuli JAR file to OpenTest allowing for automation on Windows 7?

The code below is in yaml and is designed to allow for support in executing Java using an external java library. Currently, I receive an error indicating that the Class could not be found. Caused by: java.lang.RuntimeException:…
dmcgill50
  • 528
  • 6
  • 26
0
votes
1 answer

I'm trying to implement two new commands but they are being ignored on my Sikuli script

I'm trying to add two new lines (the last "if exists" and "doubleClick") but they are not being recognized. This is the function I already have: def do(a, b, ab, abc, ef, efg): if not (exists(a, 0) and exists(ab, 0)): return …
dcbn
  • 29
  • 4
0
votes
1 answer

SikuliX IDE to use dotted characters

I use SikuliXIDE 1.1.4-SNAPSHOT with Ruby scripting and have strings, which contains following dotted characters: áéöüóőúű. I try to use paste() method to put it to a field. I found solution ALT key codes, but I don't know where these characters…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
1 answer

set proxy for firefox using sikuli in java

I'm new to sikuli and I want to run firefox and set proxy on it (through foxyproxy) using sikuli. This code opens firefox and load "https://google.com". How would I click on foxyproxy button in firefox toolbar and create new proxy using…
MSH
  • 429
  • 3
  • 7
  • 20
0
votes
1 answer

Can't locate image using sikuli using Selenium (Java)

I am trying to locate an image using Sikul and I am very new to Sikuli. Here is the code that I have written: Try{ Pattern pattern = new Pattern("Imgs\\search1.PNG"); Match m = s.find(pattern.similar(50)); System.out.println(m); …
Adrija
  • 99
  • 2
  • 11
0
votes
1 answer

Combine region and second screen function with Sikulix

I want Sikulix to search only in a certain region of my second screen. So far my knowledge comes down to having either a part of my first (main) screen like: topLeft = Location(reg.x, reg.y) Or the whole second screen like: regscreen2 = Screen(2) Is…
Alex S
  • 91
  • 10
0
votes
1 answer

Can't figure out, why script on Jython working differently from script on Pascal

Long story short: I'm writing script, which should move mouse and do clicks like human (it's a bot, actually), using SikuliX. SikuliX uses Jython 2.7 as lang for scritps. I found nice lib for my purposes (moving mouse like human): mouse.simba…
Nokse
  • 11
  • 2
0
votes
1 answer

How to run sikuli scripts on eclipse using jbehave?

I've just discovered Sikuli and managed to get it running on eclipse. Now I'm trying to figure out if I can use BDD alongside with it, but I can't seem to get them to work together. I'm using JBehave to run the tests. Here's what I have so far: The…
0
votes
0 answers

How to automate Facebook game usign sikuliapixand Selenium WebDriver?

I am having the latest sikuliapix and Selenium WebDriver dependencies in my maven project, and I am trying to automate a Facebook game. As of now I am in the level screen of the Candy Crush game and want to click on the level 2 icon or either level…
0
votes
1 answer

How to implement chain search in sikuli script

Can anyone give an advice how to implement using Sikuli analog of Selenium chain element search like driver.findElement().findElement(); first step: finding area second step find element in this area
Victor Iurkov
  • 31
  • 1
  • 5
0
votes
1 answer

sikuli - The windows application opened through sikuli is opened as minimized, how to solve?

I have a simple sikuli script which will open a windows exe file(in below cmd "run.bat" opens a windows exe application) App.open(r"SENINFO_V100R002C00SPC700\run.bat") The problem i am facing is, the exe application is opened sometimes as minimized…
Sunil Kumar
  • 367
  • 2
  • 5
  • 19
0
votes
1 answer

Sikuli - Selenium -Java

Background: I have my sikuli-integrated selenium script on a Windows machine, and my test cases are running on a Mac (iPad Simulator). This Mac also has an appium server running on port 4723. I want to use sikuli to click a button on the iPad…
bunnu
  • 1