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

Delete and restore postgress database in sikuli

I have used below code to delete postgress database. My issue is I am unable to find query which would restore database. Please provide your assistance. thank you!! from __future__ import with_statement import sys from sikuli import * from…
shrusthip
  • 85
  • 1
  • 10
0
votes
0 answers

How to call a function from another class in python->sikuli?

How can i access methods of channel1 in channel2 so that test_script1,test_script2 is execute first and then test_script3,test_script4. Note:- The main issue is when i am executing suite1= unittest.TestLoader().loadTestsFromTestCase(channel1)…
chandu
  • 33
  • 1
  • 8
0
votes
1 answer

How to generate logs with timestamp in sikuli?

I want to generate logs with time stamp being in place of popups i have mentioned. Please suggest some steps for generating logs with time…
chandu
  • 33
  • 1
  • 8
0
votes
2 answers

Automation testing between desktop and web application?

I am working on a retail based project. We have two UI. One is web portal where different types of vouchers can be created. These vouchers can be issued and redeemed from desktop application. The issued and redeemed voucher update details will be…
user5580179
0
votes
2 answers

Sikuli: How to get program to capture part of the screen and store as image

So I want to capture one image, image s, which is always in the same region. It then disappears and may or may not re-appear in a different region. I would like the program to capture the first time it appears and if it re-appears in the other…
codeav33
  • 1
  • 2
0
votes
1 answer

Sikuli ide special caracters :, \ doesn' t pass through

I am using Sikuli ide, I want to do a very simple type("1440144711350.png", "C:\tests\exportDest.csv") But it doesn' t seems to work, when i run it, i got errors, what' s the problem may be coming from ? Thanks
dtjmsy
  • 2,664
  • 9
  • 42
  • 62
0
votes
1 answer

sikuli-ide not working/responding correctly

When I doublick click on Sikuli-ide.jar, then a dialogue appears, when I dont enter any option and click ok button then the application just closes and nothing happens. why is it so, I want to start automation using selenium-ide.jar can anyone…
Harsh Nigam
  • 465
  • 2
  • 6
  • 22
0
votes
2 answers

Unable to run script from Sikuli IDE

First of all let me tell you that I am new to Sikuli. I have developed some scripts using the Sikuli IDE and it works fine. But when i created class and have added the tests as methods to it..it does not work. Can someone let me know what am I…
user3627332
  • 177
  • 1
  • 3
  • 13
0
votes
3 answers

Running Sikuli X from command line

I have figured out how to run Sikuli X from command line using: @start C:\SikuliX\runIDE.cmd -r C:\Users\Robert\Documents\Automation\test.sikuli exit My problem is when it runs it opens up another command window, runs the program and finishes but…
user2928496
-1
votes
2 answers

sikuli+selenium+java : need to understand how sikuli works

I am new to sikuli.I need to understand how it works. I install sikuli and played little bit with IDE. However,I need to understand how can I make use of sikuli using java + selenium. In our application, we have high charts that we need to…
-2
votes
1 answer

Not able to find image in external path in Sikuli

Can anyone help me with the below error message ?
alpha0
  • 65
  • 10
1 2 3 4 5
6