Questions tagged [sikuli-ide]

Sikuli IDE is an Integrated Development Environment for sikuli script. It supports in Windows, Linux and Mac OS X.

Sikuli IDE is used for writing sikuli script by capturing/taking screenshot, inserting image and creating region. The commands are available/visible at the left panel in Sikuli IDE. They can be included in script just by clicking. The commands are categorized as below:

-> Find
-> Mouse Actions
-> Keyboard Actions
-> Event Observation

Sikuli IDE edits and runs Sikuli source scripts. Sikuli IDE integrates screen capturing and a custom text editor (SikuliPane) to optimize the usability of writing a Sikuli script. To show embedded images in the SikuliPane, all string literals that ends with ”.png” are replaced by a custom JButton object, ImageButton. If a user adjusts the image pattern’s similarity, a Pattern() is automatically constructed on top of the image.

To execute a Sikuli script, Sikuli IDE creates a org.python.util.PythonInterpreter and automatically passes a few lines of headers (e.g. to import Sikuli’s Jython modules, and to set the path to .sikuli directory) to the interpreter. Once these headers are set, the .py script is simply executed by PythonInterpreter.execfile().

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

Starting Instagram Win10 store app

I'm currently doing a small program with the SikuliX IDE that should mostly open the Instagram windows 10 store application if present. I understand that windows store app are stored there: C:\Program Files\WindowsApps\ But I remarked that there is…
btc4cash
  • 375
  • 1
  • 4
  • 15
0
votes
1 answer

How do I cancel out double quote in Sikuli w/ Python?

I am using Sikuli to create an automation script and am currently struggling with the 'type' function as the input I am attempting to type has quote marks. Example: type('h', Key.CTRL) wait(1) type('') The actual…
poddpython
  • 45
  • 1
  • 8
0
votes
0 answers

How to run sikuli scripts with python?

from sikuli.Sikuli import * click("1519208908961.png") sleep(5) click("1519209904771.png") sleep(20) click("1519209975577.png") sleep(120) find("1519211685466.png") doubleClick("1519211719891.png") click("1519212466623.png") sleep(180) I have a…
Srikanth
  • 38
  • 6
0
votes
1 answer

How to run a Sikuli test as a standalone executable

I wrote some Sikuli code in my system using Sikuli IDE. How do I convert this .sikuli file and SikuliX setup to *.exe or *.jar and run in another system? Just example code in Sikuli IDE: type(Key.WIN) type("Internet…
0
votes
0 answers

Can SikulixIDE run while concurrently running Java-based sikulixapi.jar programs

I have downloaded sikulisetup[...].jar, which installs perfectly on Windows 7 64 bit. The verification test at the end of setup run perfectly, as does SikulixIDE. All good so far. If I close SikulixIDE, open Eclipse, create a project and include…
Dale
  • 5,520
  • 4
  • 43
  • 79
0
votes
1 answer

keyDown() function not working in sikuliX IDE 1.1.0 using Python on Win 32-bit OS

I want to switch on previous screen via below SikuliX 1.1.0 script but it is not working as needed and it seems that it skipping the below instruction: KeyDown(Key.ALT) type(Key.TAB) keyUp() Please guide if anybody have found solution on it ;)
sam m
  • 74
  • 1
  • 14
0
votes
1 answer

Giving NameError in sikuliX IDE 1.1.1 using Python on Win 32-bit OS

I would like to automate excel by SikuliX with below script but I don't know why it is giving following error in my script on 8th line. and below is my excel file on which I want this automation. Please guide, your contribution will have been…
sam m
  • 74
  • 1
  • 14
0
votes
0 answers

Run Sikuli 1.1.1 script via Excel VBA

I am new to Sikuli and I want to run script of SikulixIDE 1.1.1 by Commandbutton of excel VBA and I already have tried below method by link Run Sikuli from button in Excel Private Sub CommandButton1_Click() dblRetVal = Shell("java -jar…
sam m
  • 74
  • 1
  • 14
0
votes
1 answer

How to fix PyException error in Sikulix 1.1.1?

I am facing the below error in my sikuli script +++ running this Java java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing) +++ trying to run SikuliX +++ using:…
alpha0
  • 65
  • 10
0
votes
2 answers

Is there any work around for Sikuli IDE image replacement?

I am using Sikulix for UI testing, the problem is that when ever there are changes in UI I need to replace all the images which got changed using the IDE and I need to again describe the actions ( accuracy, click position) which is becoming a sort…
alpha0
  • 65
  • 10
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

Python/Sikuli 1.0.1 custom test runner

I am new to sikuli and python 2.4 in general. I have a test case setup as follows: class testCase(unitTest.testCase): def setUp(self): try: #do setup except: #handle error, trace def tearDown(self) …
stewazy
  • 139
  • 1
  • 3
  • 8
0
votes
1 answer

How to customize sikuli x ide?

I want to customize Sikuli x IDE. Like changing the title in title bar. I found the code on gitHub for Sikuli IDE but cant make out which line refers to the title. And how to run that in Eclipse.
anonymous21
  • 81
  • 2
  • 9