Re: [Sikuli-driver] [Question #294088]: OSX 10.10: How to open .sikuli?

2016-05-24 Thread RaiMan
Question #294088 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294088

Status: Open => Needs information

RaiMan requested more information:
version of Sikuli?

Are we talking about openening from inside teh SikuliX IDE or about
Finder?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #294216]: VNC connection in sikuli doesn't support all java version.

2016-05-24 Thread akash
New question #294216 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294216

Making VNC connection, gives error every time. Currently running on java 
version 1.8, is this a problem ?
If yes then which java version should i use ?  

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294088]: OSX 10.10: How to open .sikuli?

2016-05-24 Thread sgfit
Question #294088 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294088

Status: Answered => Open

sgfit is still having a problem:
Even after doing this, the IDE still cannot open .sikuli files on OSX.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294078]: robot.run with SikuliX-IDE, can't get Robot outcome.

2016-05-24 Thread masuo
Question #294078 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294078

masuo posted a new comment:
I do not think this is a better way, but I found a workaround for this problem.
I am trying to solve this problem by describing both runScript() and 
robot.run() in a single code.
I use runScript() as a dummy.

[my code]
(1)C:\script\robot_run.sikuli\robot_run.py

runScript("""
robot
*** Variables ***
*** Settings ***
Library   ./inline/Dummy
*** Test Cases ***
""")

class Dummy(object):
  def main(self):
pass

import robot.run
datasource = "C:/script/robot_run.sikuli/sample.robot"
scriptdir = "C:/script/robot_run.sikuli" 
robot.run(datasource,outputdir=scriptdir)

(2)C:\script\robot_run.sikuli\sample.robot

*** Variables ***
${USERNAME}   demo
${PASSWORD}   mode
${TESTSITE}   http://test.sikuli.de
*** Settings ***
Library   C:/script/robot_run.sikuli/MyLibrary.py
Test Setupstart firefox and goto testsite${TESTSITE}
Test Teardown stop firefox
*** Test Cases ***
正しいユーザ名とパスワードを使ってログインする
Attempt to Login with Credentials${USERNAME}${PASSWORD}
Status Should BeAccepted
間違ったユーザ名とパスワードを使ってログインする
Attempt to Login with Credentialsbettywrong
Status Should BeDenied

(3)C:\script\robot_run.sikuli\MyLibrary.py

#  coding: utf-8
from sikuli import *
class MyLibrary(object):
  def start_firefox_and_goto_testsite(self, page):
popup("start_firefox_and_goto_testsite")
  def stop_firefox(self):
popup("stop_firefox")
  def attempt_to_login_with_credentials(self, username, password):
popup("attempt_to_login_with_credentials")
  def status_should_be(self, expected):
popup("status_should_be")

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294059]: [request] When using popFile(), I want to select any folder.

2016-05-24 Thread RaiMan
Question #294059 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294059

RaiMan proposed the following answer:
both are fixed. thanks

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294148]: Not able to install Sikuli in Azure wiindows 10 VM

2016-05-24 Thread Raghuvardhan Katta
Question #294148 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294148

Status: Answered => Solved

Raghuvardhan Katta confirmed that the question is solved:
Thanks RaiMan copying setup workaround is working.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294148]: Not able to install Sikuli in Azure wiindows 10 VM

2016-05-24 Thread RaiMan
Question #294148 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294148

Status: Open => Answered

RaiMan proposed the following answer:
this happens from time to time, not really clear why:

the target file sikulixapi.jar is packed into a sikulixtemp.jar, which after 
completion is renamed to sikulixapi.jar.
this is apparently blocked in your situation (no idea why).

You might do it manually as a workaround.

... or you might setup the stuff on any other Windows machine and then
transfer the artifacts to other Windows machines (only the jars and
optionally the commandfiles)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294059]: [request] When using popFile(), I want to select any folder.

2016-05-24 Thread RaiMan
Question #294059 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294059

Status: Open => Answered

RaiMan proposed the following answer:
ok, thanks for testing ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #294148]: Not able to install Sikuli in Azure wiindows 10 VM

2016-05-24 Thread Raghuvardhan Katta
New question #294148 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294148

Hi,

I am trying to install sikuli using 
sikulixsetup-1.1.1-20160520.114101-28-forsetup in microsoft Azure VM which is a 
German VM. I am getting an error saying "Bad things happened trying to add 
native stuff to selected jars --- terminating!"
Please find the log.

[debug (24.05.16 17:51:25)] FileManager: buildJar: sikulixtemp.jar
[debug (24.05.16 17:51:25)] FileManager: buildJar: adding: sikulixapi.jar
[debug (24.05.16 17:51:26)] FileManager: buildJar: adding: sikulixtessdata.jar
[debug (24.05.16 17:51:33)] FileManager: buildJar: adding: sikulixlibswin.jar
[debug (24.05.16 17:51:38)] FileManager: buildJar: adding sikulixcontent at 
sikulixlibswin
[debug (24.05.16 17:51:38)] FileManager: buildJar: adding sikulixcontent at Lib
[debug (24.05.16 17:51:38)] FileManager: buildJar: completed
[debug (24.05.16 17:51:38)] RunSetup: renaming sikulixtemp.jar to target jar: 
sikulixapi.jar
[debug (24.05.16 17:51:38)] RunSetup: 
popError: 
Bad things happened trying to add native stuff to selected jars --- terminating!

[error (24.05.16 17:51:49)] RunSetup: Adding stuff to jars did not work
[error (24.05.16 17:51:49)] RunSetup: ... terminated abnormally :-(
[debug (24.05.16 17:51:49)] RunSetup: 
popError: 
Something serious happened! Sikuli not useable!
Check the error log at C:\Users\Ascend\Desktop\Sikuli\SikuliX-1.1.1-SetupLog.txt

[debug (24.05.16 17:51:56)] RunTimeSETUP: final cleanup
[debug (24.05.16 17:51:56)] FileManager: deleteFileOrFolder:
xx\AppData\Local\Temp\Sikulix_734722107

Thanks,
Raghuvardhan 

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294059]: [request] When using popFile(), I want to select any folder.

2016-05-24 Thread masuo
Question #294059 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294059

Status: Solved => Open

masuo is still having a problem:
There are some problems.

(1)When select [C:\], following error occurs.
[error] java.lang.NullPointerException ( java.lang.NullPointerException )

(2)every time(select folder or select file or select nothing)
Each time I run popFile(), a (transparent) window is left open.
The popup window vanish, but memory consumption of java.exe is increasing.
java icons in task bar is  increasing.

I tried SikuliXIDE1.1.1(2016-05-24_12:16nightly)
OS:Windows7

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294140]: re-use image name

2016-05-24 Thread RaiMan
Question #294140 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294140

Status: Open => Answered

RaiMan proposed the following answer:
yep, that is tricky ;-)

supposing you have something like this:

# main script
import firefoxtest
import chrometest

firefoxtest.run() # uses the ff-images

chrometest.run() # uses the ff-images also

the reason behind:

the image path is automatically arranged according to the sequence of
the imports:

imagepath after the imports:
-- main
-- firefoxtest
-- chrometest

since the images are searched on the image path according to "first
wins", images with the same name will always be used from the
firefoxtest.

So the solution is to implement some "rearrange the imagepath" logic
using the features getImagePath(), removeImagePath() and addImagePath()
(see docs)

You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #294140]: re-use image name

2016-05-24 Thread Sander
New question #294140 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294140

Hi there,

As I want to test my application in different browsers, i've created (so far) 
two different classes
firefoxTestImages():
chromeTestImages():

imgDict = {}

def __init__(self):
self.imgDict = {}
self.addImage("checkbox", "checkbox.png")
self.addImage("okButton", "okButton.png")


def addImage(self, name, img):
self.imgDict[name] = img

def getImage(self, name):
return self.imgDict[name]


The image names for both classes are exactly the same (except the image).
The import seems to be working fine, but when I switch from chrome to firefox 
it does not recognize the image anymore, just because it is still trying to 
find the chrome version.

Is using the reload() function the way forward, what would be the best solution 
for this? 


Regards,
Sander

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294130]: how sikuli uses tesseract

2016-05-24 Thread RaiMan
Question #294130 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294130

Status: Open => Answered

RaiMan proposed the following answer:
ok, then this might be caused by the very basic implementation and the
fact, that it is not really adapted to the 3.0+ features (no changes the
last 5 years).

I am sorry, but you have to take the feature set as is. Only version 2
later this year will have some enhancements and more options according
to the current state of version 3

You might try with the Tess4J package (I will use it in version 2) or if
timing is not a problem use the Tesseract command in a subprocess with
files.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294130]: how sikuli uses tesseract

2016-05-24 Thread Alfredo Adragna
Question #294130 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294130

Status: Answered => Open

Alfredo Adragna is still having a problem:
Thanks for the quick answer.
We try what you suggest.
In particular we removed all the file in 
/SikulixTesseract/tessdata and copied just our eng.traineddata.
The result is very different with the tessaract command specified in the 
question.
Any other suggestion?
Thanks in advance again.
Alfredo & Andrea

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: RobotFramework: how to get it working (1.1.1 2016-05-25+)

2016-05-24 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Shobin confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: RobotFramework: how to get it working (1.1.1 2016-05-25+)

2016-05-24 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Answered => Solved

Shobin confirmed that the question is solved:
I downloaded the latest nightly build 5/24 and ran the test code which
you have provided.

runScript("""
robot
*** Variables ***
${USERNAME}   demo
${PASSWORD}   mode
${TESTSITE}   http://test.sikuli.de
*** Settings ***
Library   ./inline/LoginLibrary
Test Setupstart firefox and goto testsite${TESTSITE}
Test Teardown stop firefox
*** Test Cases ***
User can log in with correct user and password
Attempt to Login with Credentials${USERNAME}${PASSWORD}
Status Should BeAccepted
User cannot log in with invalid user or bad password
Attempt to Login with Credentialsbettywrong
Status Should BeDenied
""")

class LoginLibrary(object):
  def start_firefox_and_goto_testsite(self, page):
popup("start_firefox_and_goto_testsite")
  def stop_firefox(self):
popup("stop_firefox")
  def attempt_to_login_with_credentials(self, username, password):
popup("attempt_to_login_with_credentials")
  def status_should_be(self, expected):
popup("status_should_be")

This is giving me all the pop ups that you have defined in the python
code.  So basically this is working , doesn't need anything else.  This
is MUCH MUCH more convenient than the older setup which was a pain.

My issue is resolved now.

Danke RaiMan

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293512]: [1.1.1] Using Robotframework with SikuliX (2016-05-25+)

2016-05-24 Thread RaiMan
Question #293512 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293512

Summary changed to:
[1.1.1] Using Robotframework with SikuliX (2016-05-25+)

Description changed to:
** fixed in 1.1.1 2016-05-25+
usage according to
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

--

Hello,

I am trying to get SikuliX to 'play with' Robot Framework as outlines
here: http://www.sikulix.com/support.html

I am running with:
- Win 10 64-bit
- SikuliX 1.1.0 (2015-10-05_(17:07)
   - Installed with option 1 and 2 ticked
- Python 2.7.5
- I downloaded the Robot folder via the link about and placed the files in 
'%appdata%/SikuliX/Lib/robot/'

What I am trying to do:

Run a simple test case that will output some reporting to test that this
is working.  Getting a report output at the end of the test is the end
goal here.

What I have tried:

1) I have tried making a test script in Sikuli that contains the code
found in testRun.py (via the link above), but I get these errors:

[error] JythonSupport: exec: returns: Traceback (most recent call last):
File "", line 1, in 
ImportError: No module named robot

[error] JythonSupport: exec: returns: Traceback (most recent call last):
File "", line 1, in 
NameError: name 'robot' is not defined

2) I have tried running a Robot Framwork test script for the calculator,
outlined here:
https://bitbucket.org/robotframework/robotdemo/src/51f472687b6a46e88b7c179423f0f336e19497fc/data_driven.robot?at=master
=file-view-default

When I do, I get this error:

[error] script [ Testrobot ] stopped with error in line 33 at column 22
[error] SyntaxError ( "no viable alternative at character '$'", )

^^I have no idea what that means

3) I've tried making sure all single or double or brackets or any sort
are all closed or the correct kind - same errors.

I am really lost at this point.

Does anyone know what I am doing wrong?  Or, does anyone just have a
simple test case I can copy/paste into Sikuli so I can run it and see
the HTML report files that are output?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294059]: [request] When using popFile(), I want to select any folder.

2016-05-24 Thread RaiMan
Question #294059 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294059

Status: Answered => Solved

RaiMan changed the question status:
should work now

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294130]: how sikuli uses tesseract

2016-05-24 Thread RaiMan
Question #294130 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294130

Status: Open => Answered

RaiMan proposed the following answer:
with version 1.1.0+ the tessdata folder after an approriate setup and a
run, that uses the text feature, can be found at /SikulixTesseract/tessdata (see docs)

You might simply then replace the bundled standard files with your custom files 
keeping the standard naming.
As long this folder exists, it will not be replaced by the bundled stuff.
If it does not exists, it will be created as needed with the bundled standard 
stuff.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: RobotFramework: how to get it working (1.1.1 2016-05-25+)

2016-05-24 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Summary changed to:
RobotFramework: how to get it working (1.1.1 2016-05-25+)

Description changed to:
*** valid for 1.1.1 2016-05-25+

I strongly recommend to first read through the docs:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

Any RobotFramework setup now is supported directly with SikuliX:

The preparation is the same as for a jybot run, but there is
- no need to install anything besides SikuliX via a valid setup with Jython 
selected
- no need to specify anything in the environment (no classpath, jythonpath or 
whatever)

it simply works out of the box ;-)

-
I am trying to integrate Sikuli 1.1.1 nightly build with robot framework 3.0

I am following the question
https://answers.launchpad.net/sikuli/+question/261208

My config:

Python:2.7
Jython: jython2.7b3
Robot Framework 3.0

My jybot.bat file:

I have everything in c:/RFW folder , i mean all the jar files like
sikulix.jar and stuff like explained in the previous example.

@echo off
setlocal
set ROBOT_HOME=%~dp0
set JYTHON_HOME=%ROBOT_HOME%
set SIKULIX_HOME=%ROBOT_HOME%

set CLASSPATH=%SIKULIX_HOME%sikulixapi.jar;%CLASSPATH%
set JYTHONPATH=%SIKULIX_HOME%sikulixapi.jar\Lib

java -cp %JYTHON_HOME%jython.jar;%CLASSPATH% org.python.util.jython ^
  %ROBOT_HOME%robot\run.py ^
  --pythonpath=%ROBOT_HOME%calc.sikuli ^
  %*
endlocal

When I execute my jybot.bat file by typing

jybot.bat verify_operations.txt in command line I get the following
error.

C:\RFW>jybot.bat verify_operations.txt
  File "C:\RFW\robot\run.py", line 433
SyntaxError: 'with' will become a reserved keyword in Python 2.6

I dont understand what to do.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: RobotFramework: how to get it working (1.1.1 2016-05-25+)

2016-05-24 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Shobin posted a new comment:
Ok, Will give it a shot , Thank you.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: RobotFramework: how to get it working

2016-05-24 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

RaiMan proposed the following answer:
ok, you need the latest nightly build or the actual state from github.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: RobotFramework: how to get it working

2016-05-24 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

RaiMan proposed the following answer:
I strongly recommend to again read through the docs:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

I made some minor revisions, so even the case 
import robot.run
robot.run("path-to-script.robot", outputdir="somepath")

now works in all cases.

The outside preparation here is the same as for a jybot run, but there is 
- no need to install anything besides SikuliX via a valid setup with Jython 
selected
- no need to specify anything in the environment (no classpath, jythonpath or 
whatever)

it simply works out of the box ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #294130]: how sikuli uses tesseract

2016-05-24 Thread Alfredo Adragna
New question #294130 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294130

Our application uses a font not recognonized by sikuli and tesseract.
We trained tesseract to recognize the font, producing a new eng2.traineddata 
file.
The file has been verified by means of the command:

tesseract image.png test -l eng2

How can we use this new file?
Does Sikuli use the traineddata in standard tesseract directory?

Thanks in advance
Alfredo & Andrea

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294129]: Every time i try to connect to VNC i get an error message

2016-05-24 Thread akash
Question #294129 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294129

Description changed to:
ConnectedException in thread "main" java.lang.NullPointerException
at edu.unh.iol.dlc.Framebuffer.resetPF(Framebuffer.java:84)
at edu.unh.iol.dlc.VNCThread.setPixelFormat(VNCThread.java:147)
at 
edu.unh.iol.dlc.ConnectionController.setPixelFormat(ConnectionController.java:117)
at test_run_01.main(test_run_01.java:24)


Can anyone please help , why this is happening.
I am using Tiger VNC , running on RHEL 6

code:

public static void main(String[] args){
Socket s = new Socket("192.168.1.17", 5900); 
s.setSoTimeout(1000);
s.setKeepAlive(true);
ConnectionController cc = new ConnectionController(s);
cc.openConnection(0);
cc.setPixelFormat(0, "Truecolor", 32, 0); 
cc.start(0);
Thread.sleep(2000); 
VNCScreen vnc = new VNCScreen();  
cc.closeConnection()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #294129]: Every time i try to connect to VNC i get an error message

2016-05-24 Thread akash
New question #294129 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294129

ConnectedException in thread "main" java.lang.NullPointerException
at edu.unh.iol.dlc.Framebuffer.resetPF(Framebuffer.java:84)
at edu.unh.iol.dlc.VNCThread.setPixelFormat(VNCThread.java:147)
at 
edu.unh.iol.dlc.ConnectionController.setPixelFormat(ConnectionController.java:117)
at test_run_01.main(test_run_01.java:24)


Can anyone please help , why this is happening.
I am using Tiger VNC , running on RHEL 6


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #294120]: Setting up sikuli script for remote machine

2016-05-24 Thread Fays
New question #294120 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294120

Hi Guys!

I am using Sikuli with (Eclipse+TestNG+Selenium webdriver+Java). My local 
machine is Windows 97. I finished all the stuff in it and it runs perfectly. 
Now I plan to run it on Windows Server. In Eclipse IDE I made different folders 
for images for e.g

- For windows 97 Images folder contains all the images related to it.
- Same with Windows Server 
- Same approach with Linux

So I am just executing different TestNG.xml related to OS to call it. I am new 
in Sikuli so few questions I  want to know are:

- How do set up/configure sikuli to run on the other machine i.e Windows 
Server?   
- How to run it? will that be from cmd?
- Also is there any other strategy or better way to handle different OS ?

I would be really thankful if i can clear answers. looked into other questions 
but this scenario is different.

Thanks






-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: With will become a reserved keyword in python 2.6

2016-05-24 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Open => Answered

RaiMan proposed the following answer:
ok, but that is not according to my recommendation in comment #9.

I will check later, how the stony way you have chosen could be used.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293980]: RobotFramework: how to get it working

2016-05-24 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Summary changed to:
RobotFramework: how to get it working

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294104]: KeyModifiers while calling type not working

2016-05-24 Thread RaiMan
Question #294104 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294104

Status: Open => Answered

RaiMan proposed the following answer:
using the basic keyboard commands key...(), you have to use the Key specifiers, 
like so
s.keyDown(Key.CMD);

just tested on my OSX 10.11: works

sbar = "sbar.png" # the lens symbol top right in menubar
spot = "spot.png" # the lens symbol of the spotlight popup
click(sbar) # get the spotlight popup
if exists(spot): # wait for the spotlight popup
  type(Key.BACKSPACE) # purge current content
  type("Vorschau") # enter something
  wait(3) # to defer the IDE showing up

This should be the same if you do it in Java.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #294116]: does sikuli work with mobile OS (Android and iOS)?

2016-05-24 Thread RaiMan
Question #294116 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294116

Status: Open => Answered

RaiMan proposed the following answer:
not directly out of the box, only via emulator.

For Android I have seen VNC based solutions.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp