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

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

validate test case result in robot framework

I am trying to write a automated script using robot framework integrated with sikuli. Script is as below. ${var}= Get Match Score Image.png Run keyword if ${var} log to console ImageMatched ElSE log to console ImageDidNotMatch …
0
votes
1 answer

Check application running in sikuli

I'm working in sikuli-1.1.1,python. I need to automate a code to open a website. So, I have to open chrome and type the link in a tab with sikuli. As for now I'm using this code to open chrome, app = App("C:\Program Files…
Prabakar
  • 174
  • 2
  • 4
  • 14
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

Facing barriers when running skl script from excel VBA

I am using below VB to launch script of sikuliX 1.1.2 from excel but it takes around 30 seconds to just execute the script and then script takes itself another seconds to fulfill the instruction. So is there any way to make this process very fast…
sam m
  • 74
  • 1
  • 14
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
1 answer

Executing external Python program in Sikuli script

I am trying to call a python program which just sends me a text on my phone from a Sikuli script.I am a beginner and my goal is to receive a text when a certain loop is finished, but I don't know how to call on it from the Sikuli script. This is a…
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
2 answers

In SikuliX, type(variable) always types the variable then presses enter automatically. How do I avoid pressing enter?

Sorry if this is really basic, I cannot find a workaround. I have a variable called doc that stores the number 510 that was copied from an excel cell. I need to type it in a field, but I need to continue typing in another field on the same page…
sorin
  • 33
  • 8
0
votes
1 answer

How to get entire region of an application in Sikuli

How do you get the entire region for an application via Sikuli script? I am trying to get the entire window without having to find a specific screenshot image. I have the following code right now: app =…
0
votes
0 answers

Run sikulixapi (1.1.0) as admin

How to run sikulixapi as admin? Does anyone have an example or explanation? A saw this command java -jar \sikulix.jar on the internet. But my Sikulis import in intellij project like an external library.
Rujan hu
  • 27
  • 1
  • 6
0
votes
2 answers

Sikuli: How to click on each excel cells specific interval of time?

I am new to Sikuli. I need to click on each excel cell - one by one of the specific interval of time so how can I iterate among the excel cells. Update 1: When mouse click on the 1st cell of a hyperlink(i.e. google.com) and specific interval of…
kgsharathkumar
  • 1,369
  • 1
  • 19
  • 36