Re: [Sikuli-driver] [Question #657969]: How to read text from notepad and type in form without Enter key

2017-09-13 Thread dinev
Question #657969 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657969

Status: Open => Answered

dinev proposed the following answer:
Not sure from where you are reading the values
In python you can just do

with open(fname) as f:
content = f.readlines()
# you may also want to remove whitespace characters like `\n` at the end of 
each line
content = [x.strip() for x in content]

-- 
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 #657236]: Will Sikuli supports browser testing like selenium ?

2017-09-13 Thread dinev
Question #657236 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657236

dinev posted a new comment:
As I like to say (when same fellow testers complains about Selenium problems):
"There is a nice update to Selenium. It is called Sikuli" ;-)

About integration - If you use java you may consider them integrated.

-- 
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 #656852]: run sikuli with jenkins and git

2017-09-12 Thread dinev
Question #656852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/656852

Status: Open => Answered

dinev proposed the following answer:
Here are some tips

1. fix your script by removing pause command - test that it works fine and 
completes as expected without any user interactions 
2. seems you have set up jenkin job - this is ok
3. you need to setup a VM(Or real machine). Make sure there is active UI all 
the time. You need to turn off any screensavers and etc
4. make sure your jenkins slave is running in the UI session of the VM
5. test your script on the VM

you are ready now to run your jenkins job

-- 
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 #657024]: Sikuli IDE 1.1.0 is not working properly

2017-09-12 Thread dinev
Question #657024 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657024

dinev proposed the following answer:
1. This is known issue in 1.1.0 for imported files
2. you are not supposed to open the jar file - there is a startup file (depends 
on your OS)

-- 
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 #657596]: EditorRegionButton: createFromString: Problem parsing region expression 3

2017-09-12 Thread dinev
Question #657596 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657596

dinev posted a new comment:
Providing your code will be helpful

-- 
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 #657904]: UnsatisfiedLinkError occurred when finding image on Android devices or simulator

2017-09-12 Thread dinev
Question #657904 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657904

dinev posted a new comment:
I do not see "img" defined

-- 
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 #657594]: Help required to find the text in an image

2017-09-12 Thread dinev
Question #657594 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657594

Status: Open => Answered

dinev proposed the following answer:
1. make sure you have selected ocr option when installing sikuli 
2. add in the begging of the script - "Settings.OcrTextSearch = True"

-- 
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 #657828]: SikuliX test report name with Timestamp

2017-09-12 Thread dinev
Question #657828 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657828

Status: Open => Answered

dinev proposed the following answer:
import datetime

timeStamp = datetime.datetime.now().strftime("%m%d%H%M%S")

fp = file(os.path.join(dir, "testReport_" + timeStamp +".html"), "wb")
#output HTML file

-- 
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 #657902]: SikuliX setup on Linux gnome desktop

2017-09-12 Thread dinev
Question #657902 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657902

Status: Open => Answered

dinev proposed the following answer:
Did you follow the installation instructions for Linux?

http://sikulix.com/specials/files/linux-setup-prerequisites.html

-- 
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 #657912]: Report or mailing function in Sikuli GUI

2017-09-12 Thread dinev
Question #657912 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657912

Status: Open => Answered

dinev proposed the following answer:
It is not possible without some programming. If you are using the IDE
now you actually starting to program :-)

Here are some ideas if you want to explore the right way to do this:

1. You can use smtp lib to send emails or you can use external programs like 
blat for windows
2. You need to learn how to detect error - all methods return some useful value 
that can help you
3. For load tests - it is possible but this will include bringing up many 
machines in let say Amazon cloud and drive them to execute scripts and then 
collect results. If you cannot deal with 1 and 2 it will be hard for you to 
deal with this.

-- 
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 #654244]: Waiting for image, type command, then waits again

2017-08-02 Thread dinev
Question #654244 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654244

dinev posted a new comment:
Do you really need them random ... or just shoot them in particular
order is ok.

Random means that some key may never be send...

-- 
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 #654441]: multiple screenshot analysis in a script

2017-08-02 Thread dinev
Question #654441 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654441

dinev proposed the following answer:
I was with impression we are trying to solve tho ovoid using tons of
images for one slightly different element. So my suggestions are in this
direction.

One unorthodox solution may be saving the html on every XX seconds(or
minutes) and then searching in the html. For example it should look like
this:

1. press ctrl+s, type name and enter
2. open saved htm file and analyze it
3. if alarm found do something and exit
4. wait XX seconds/minutes
5. goto 1

-- 
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 #654227]: Use offset(Location(x, y)} but get wrong position some time

2017-08-02 Thread dinev
Question #654227 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654227

Status: Open => Answered

dinev proposed the following answer:
Can you try replacing this part :

#
mouseMove(target)
sleep(1)
scene_list = ["","","","","",""]
scene_list[0] = target.offset(Location((- scene_offset*3), 0))
scene_list[1] = target.offset(Location((- scene_offset*2), 0))
scene_list[2] = target.offset(Location((- scene_offset*1), 0))
scene_list[3] = target.offset(Location(0, 0))
scene_list[4] = target.offset(Location((scene_offset*1), 0))
scene_list[5] = target.offset(Location((scene_offset*2), 0))

for pos in scene_list :
mouseMove(pos)
sleep(0.5)
##


with this:

#
mouseMove(target)
sleep(1)
mouseMove((- scene_offset*3), 0)
for i in range(1,6) :
mouseMove(scene_offset,0)
sleep(0.5)
##

-- 
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 #654290]: Java - Finder unable to find target image

2017-08-02 Thread dinev
Question #654290 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654290

dinev posted a new comment:
This is not answering your question but might be helpful in your case:

NativeScript's Open Source Functional Testing Framework
https://www.nativescript.org/blog/nativescript-open-source-functional-testing-framework

-- 
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 #654436]: wait(img, t) fails to identify an image

2017-08-02 Thread dinev
Question #654436 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654436

Status: Open => Answered

dinev proposed the following answer:
Here are some suggestion

-- try to increase timeout
-- do not use 100% match

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 #654090]: How to sort without search option in python

2017-08-02 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
I do not have application under test in order to write this code. I
believe you or your team can do this given the fact the skeleton of the
script is provided.

-- 
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 #654900]: how to update from Sikuli 1.0.1 to SikuliX 1.1.1

2017-08-02 Thread dinev
Question #654900 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654900

Status: Open => Needs information

dinev requested more information:
Your approach should be fine
What java version you are using?

-- 
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 #654441]: multiple screenshot analysis in a script

2017-08-02 Thread dinev
Question #654441 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654441

dinev posted a new comment:
arminius,

Your loop is correct - it is only one loop. Seems like 2 images doesn't exists 
on the screen
If there a way you to provide few images of the whole web page with the 
alarm(s) inside?

-- 
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 #654090]: How to sort without search option in python

2017-08-02 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

Status: Open => Answered

dinev proposed the following answer:
So based on your answers you need to do this:

1. click on the first row in the sell you want - let say gate entry
2. copy to clipboard and verify if it is the needed one
3. press down arrow to move to the cell in the next row
4. if you 2 is false go to 2 again
5. if you found your row you can either moving left with arrows to radio button 
and use space to select it or knowing the row to find N-th radio button to 
click it

-- 
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 #654090]: How to sort without search option in python

2017-08-01 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
Ok - some more questions:

If I click within the grid - can I do CTRL+A CTRL+C to copy all in clipboard?
Does the clipboard has human readable format in this case - I mean text?
If I am in the grid does the arrow keys work moving up and down over the rows?
Can I select a single row and copy in clipboard?
How many lines are in this list .. do you need to scroll for next pages?
Does to serial number and gate ID changes - if you are doing automated tests 
they maybe need to be fixed?

-- 
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 #654227]: Use offset(Location(x, y)} but get wrong position some time

2017-08-01 Thread dinev
Question #654227 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654227

dinev posted a new comment:
I do not see where scene_offset is calculated. Maybe this can be the
problem.

-- 
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 #654090]: How to sort without search option in python

2017-08-01 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
Ok - some more questions:

If I click within the grid - can I do CTRL+A CTRL+C to copy all in clipboard?
Does the clipboard has human readable format in this case - I mean text?
If I am in the grid does the arrow keys work moving up and down over the rows?
Can I select a single row and copy in clipboard?
How many lines are in this list .. do you need to scroll for next pages?
Does to serial number and gate ID changes - if you are doing automated tests 
they maybe need to be fixed?

-- 
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 #654244]: Waiting for image, type command, then waits again

2017-08-01 Thread dinev
Question #654244 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654244

dinev proposed the following answer:
Change the sleep(1) to sleep(0.1) after type("c")
Sleep time is in seconds - 0.1 is 100ms

However please note that exist command also take some non zero time to
be executed

-- 
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 #654090]: How to sort without search option in python

2017-08-01 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
Use one of the many free screen cast online services and pos just a
link. Good example is a Jing service

-- 
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 #653019]: How to bring the minimized window to frontmost and click the button in it

2017-07-31 Thread dinev
Question #653019 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653019

dinev posted a new comment:
No attached image. Use Jing and post a link here

-- 
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 #652975]: capture image automatically in a specific location

2017-07-31 Thread dinev
Question #652975 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/652975

dinev posted a new comment:
Just saw the question and can confirm that this code:

print "You have 3 seconds to focus notepad"
sleep(3)
keyDown(Key.SHIFT)
type("a")
keyUp()

works fine on Windows 10, Mac Os ElCapitan and Lubuntu 16.04

-- 
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 #653019]: How to bring the minimized window to frontmost and click the button in it

2017-07-31 Thread dinev
Question #653019 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/653019

dinev posted a new comment:
Just wondering what "w" is doing - at least nothning on my Win10
Maybe you need "x" is for maximizing

Can you provide screencast of your problem. You may use notepad if you
do not want to show your app under test

-- 
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 #654227]: Use offset(Location(x, y)} but get wrong position some time

2017-07-31 Thread dinev
Question #654227 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654227

dinev posted a new comment:
Use  "highlight" command to visualize your target and subsequent calculation
There is a chance that initial target is not recognized correctly if you 
dynamic application

-- 
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 #654090]: How to sort without search option in python

2017-07-31 Thread dinev
Question #654090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654090

dinev posted a new comment:
Can you give a visual example of your 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 #654229]: Loading Sikuli script from an URL Steps Required

2017-07-31 Thread dinev
Question #654229 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654229

Status: Open => Answered

dinev proposed the following answer:
Idea 1 : Use STAF framework: This is very robust and well supported test
framework with multiple purposes - http://staf.sourceforge.net/

Idea 2:  remote execution :
  -- If you using windows - you can use psexec for windows 
https://docs.microsoft.com/en-us/sysinternals/downloads/pstools
  -- for linux you can use ssh

Idea 3: You can use jenkins to orchestrate test execution - can be a
burden with 500 machines

finally but not last : I like the git idea above - can fit well with
above 3 ideas

-- 
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 #654244]: Waiting for image, type command, then waits again

2017-07-31 Thread dinev
Question #654244 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654244

Status: Open => Answered

dinev proposed the following answer:
"I am looking for a simple script that will watch for an image, type the
letter c until the image is gone. then wait for the image to come back
again indefinitely."

Here is possible solution to your initial question:

while True:
while not exists(image1):
 sleep(1)
while exists(image1):
type("c")
sleep(1)

-- 
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 #647383]: Cannot share scripts from my computer to my co-worker's computer

2017-07-24 Thread dinev
Question #647383 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/647383

dinev posted a new comment:
That's strange. I am using images recorded on one machine to run on win7 win8 
win10 (mac and linux with some limitations). Also resolutions vary from full HD 
to 1024x768 without a problem.(some tweaks are need in testing logic but it is 
ok) 
I am interested what is the case here.

here are some questions:
-- what is the display resolution of the laptop - you can share the model name
-- what is the OS of the laptops
-- do you have any extended displays
-- confirm that display setting of fonts sizes are 100%
-- confirm video driver is up to date
-- when capturing image does gray area cover all the screen

here are some some ideas:
-- check for conflicting software - video related software - like video capture
-- check java versions - what are the versions
-- capture image let say of google icon on both PC and compare them manually 
visually 
-- set both laptop to some lower resolution - like 1280x800 and try again
-- capture areas with circle(s) and check if they look circles on other 
laptop(you mention disproportion)
-- seems you are using regions - can you try without them

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 #649118]: How to pass strings from a python script to Sikuli script?

2017-07-24 Thread dinev
Question #649118 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/649118

Status: Open => Answered

dinev proposed the following answer:
1. You need to define "Fast" - how fast in seconds(or ms).
2. You need to define size of string - in bytes.
3. You need to define how many strings per second you need to read
4. You need to define power of underlying machine that will do the work

If you are doing something with sikuli like image recognition I doubt file read 
will be slow in comparison.
My first choice will be "file" if 1-4 questions have reasonable expectations.

However You can investigate :
1. pipes - sikuli script to open pipe to python script and to read directly 
from the pipe.
2. simple rest server run by sikuli that will get post request send by the 
python script
3. mysql database

-- 
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] [Bug 1696105] [NEW] Some of region raster functions doesn't work as expected

2017-06-06 Thread dinev
Public bug reported:

I am playing with raster functions as described in

http://sikulix-2014.readthedocs.io/en/latest/region.html#get-evenly-
sized-parts-of-a-region-as-rows-columns-and-cells-based-on-a-raster

I found following problems:

1. Some constants are not defined - like Region.MID_BIG and
Region.MID_THIRD

2. Calling get(522) does not work - select whole screen. Note that 422
work fine. Seems like grid above 5 does not work

3. getRow(whichRow, numberRows) - always return whole screen. However I
am confused that those methods are mentioned twice in the documentation
on different places. Should we call setRaster for them - not clear

Tested with Sikuli IDE on Windows 10 x64, java 1.8_121, Sikuli 1.1.1
(official)

** Affects: sikuli
 Importance: Undecided
 Status: New


** Tags: raster region

** Description changed:

- I am playing with rater functions as described in
+ I am playing with raster functions as described in
  
  http://sikulix-2014.readthedocs.io/en/latest/region.html#get-evenly-
  sized-parts-of-a-region-as-rows-columns-and-cells-based-on-a-raster
  
  I found following problems:
  
  1. Some constants are not defined - like Region.MID_BIG and
  Region.MID_THIRD
  
  2. Calling get(522) does not work - select whole screen. Note that 422
  work fine. Seems like grid above 5 does not work
  
  3. getRow(whichRow, numberRows) - always return whole screen. However I
  am confused that those methods are mentioned twice in the documentation
  on different places. Should we call setRaster for them - not clear
  
  Tested with Sikuli IDE on Windows 10 x64, java 1.8_121, Sikuli 1.1.1
  (official)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1696105

Title:
  Some of region raster functions doesn't work as expected

Status in Sikuli:
  New

Bug description:
  I am playing with raster functions as described in

  http://sikulix-2014.readthedocs.io/en/latest/region.html#get-evenly-
  sized-parts-of-a-region-as-rows-columns-and-cells-based-on-a-raster

  I found following problems:

  1. Some constants are not defined - like Region.MID_BIG and
  Region.MID_THIRD

  2. Calling get(522) does not work - select whole screen. Note that 422
  work fine. Seems like grid above 5 does not work

  3. getRow(whichRow, numberRows) - always return whole screen. However
  I am confused that those methods are mentioned twice in the
  documentation on different places. Should we call setRaster for them -
  not clear

  Tested with Sikuli IDE on Windows 10 x64, java 1.8_121, Sikuli 1.1.1
  (official)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1696105/+subscriptions

___
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 #617040]: Set Execution Ordinal for Test Set via Command Line

2017-04-28 Thread dinev
Question #617040 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/617040

dinev posted a new comment:
If you add code sample that demonstrates how you are running test maybe
we can help.

I am using unittest module and organizing tests as methods of a class.
The keep test ordered methods looks like

def test_001_
def test_002_

Then when tests are loaded for execution the are always sorted by name

-- 
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 #626490]: Errors happen when Android screen is horizontal

2017-04-27 Thread dinev
Question #626490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/626490

dinev posted a new comment:
Thanks

I just unpacked jar file and found the location :-)

Seems that there is some sample in ide tools menu - where is the code for this?
Just wondering if there are more key constant specific for Android. 

 I am trying to type Key.ENTER while entering text but seems I need
Key.SEARCH :-)

Anyhow it works and have potential!

-- 
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 #626490]: Errors happen when Android screen is horizontal

2017-04-27 Thread dinev
Question #626490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/626490

dinev posted a new comment:
I tried to run the script in SikuliIDE but got error when importing

[error] script [ adb_test ] stopped with error in line 1
[error] ImportError ( No module named android )

-- 
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 #617173]: Need to click a checkbox against select text, where text is changing frequently

2017-04-26 Thread dinev
Question #617173 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/617173

Status: Open => Answered

dinev proposed the following answer:
You can find all checkboxes and sort them by Y coordinate. Then get last
one. Here is sample function:

###
def Get_Nth_Image_Ysort(img,n):
TestLog("Look Y sorted elements like " + str(img) + " and take number " + 
str(n))
res=findAll(img)
sorted_img = sorted(res, key=lambda m:m.y)
sorted_img[n-1].highlight(2)
return sorted_img[n-1]

###

You can enhance above function to look in region or to look checkbox by
X or by X,Y

-- 
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 #626490]: Errors happen when Android screen is horizontal

2017-04-26 Thread dinev
Question #626490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/626490

dinev posted a new comment:
Just wondering is there a sample for jython usage or any other
documentation for Android screen

-- 
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] [Bug 1673089] Re: [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google search field and other input fields/areas--- workaround

2017-03-29 Thread dinev
We actually tried the workaround before posting the problem to Sikuli
forum. It does not seems to work well.

I created pure java code that reproduces the problem

--

import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
 
public class RobotExp {

  public static void main(String[] args) {
 
try {
 
Robot robot = new Robot();
// Creates the delay of 5 sec so that you can open notepad before
// Robot start writting
System.out.println("You have 5 seconds to focus typing target");

robot.delay(5000);
System.out.println("Typing...");
robot.delay(300);
robot.keyPress(KeyEvent.VK_T);
robot.delay(300);
robot.keyPress(KeyEvent.VK_E);
robot.delay(300);
robot.keyPress(KeyEvent.VK_S);
robot.delay(300);
robot.keyPress(KeyEvent.VK_T);
robot.delay(300);
System.out.println("Done.");
 
} catch (AWTException e) {
e.printStackTrace();
}
}
}

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1673089

Title:
  [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google
  search field and other input fields/areas--- workaround

Status in Sikuli:
  Confirmed

Bug description:
  *** workaround
  use paste() for the text parts and type() only for typing functional keys:
  paste("test"); type(Key.ENTER)

  or switch of the accented popup behavior (see below)

  - findings until now
  Seems to be related to the possible selection of accented characters if the 
key is held for some time (which is valid for e and s).

  The problem seems to be somewhere between the handling of the input
  field input and the way Java Robot types a character.

  according to https://infinitediaries.net/os-x-choose-between-the-
  character-accents-popup-and-key-repeat-when-holding-down-a-key/

  switch back to repeat key from accented character popup:
   In a Terminal: defaults write -g ApplePressAndHoldEnabled -bool false
  In this mode type works as expected.

  switch back reverse (popup again) (default in macOS Sierra).
   In a Terminal: defaults write -g ApplePressAndHoldEnabled -bool false

   problem for SikuliX: cannot be done on the fly, since the
  offending application has to be stopped and restarted again.

   in Terminal: defaults read -g ApplePressAndHoldEnabled
  reveals you current setting:
  0: no accented character popup (type should work as expected)
  1: you get accented character popup, type makes problems 

  

  We are experiencing issues with type() command under Mac OS Sierra.

  -- while typing accent menu appear -  see
  
https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/PL124/S0120_AccentMenu.png

  -- typing actually miss some chars. For example typing "test" results
  in "tt" - https://www.screencast.com/t/xL79S0JK

  -- typing doesn't fire onKeyUp event in some fields(typing manually
  fires events)

  Please note that we do not have above issues with El Capitan and
  Yosemite Mac OS versions. We tried latest nightly Sikuli build as
  well. Java versions we are using is 1.8.121(latest)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1673089/+subscriptions

___
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 #562274]: Mac OS Sierra type() command issues

2017-03-15 Thread dinev
New question #562274 on Sikuli:
https://answers.launchpad.net/sikuli/+question/562274

We are experiencing issues with type() command under Mac OS Sierra. 

-- while typing accent menu appear -  see 
https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/PL124/S0120_AccentMenu.png

-- typing actually miss some chars. For example typing "test" results in "tt" - 
https://www.screencast.com/t/xL79S0JK

-- typing doesn't fire onKeyUp event in some fields(typing manually fires 
events)


Please note that we do not have above issues with El Capitan and Yosemite Mac 
OS versions. We tried latest nightly Sikuli build as well. Java versions we are 
using is 1.8.121(latest)

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 #452897]: Unable to type '_' and capital letters in VNC screen

2017-02-21 Thread dinev
Question #452897 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452897

dinev posted a new comment:
I do not have any experience with VNC module so I am trying to generate
ideas here :-)

1. Could you try to use keyModifier.SHIFT and see what will happen?
2. On the servers side is there any VNC server option that you can experiment 
with?

-- 
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 #447450]: One Script multiple machines

2017-02-19 Thread dinev
Question #447450 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/447450

dinev proposed the following answer:
You can use Jenkins - https://jenkins.io/

-- 
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 #448571]: SikuliX One line installer for Linux

2017-02-19 Thread dinev
Question #448571 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/448571

dinev posted a new comment:
Here is a sikuli installation shell script for ubuntu 16.06LTS


sudo apt-get install -y libopencv-dev tesseract-ocr
sudo apt-get install -y xdotool wmctrl
mkdir -p $pathSikuli
cd $pathSikuli
wget 
https://launchpad.net/sikuli/sikulix/1.1.0/+download/sikulixsetup-1.1.0.jar
java -jar sikulixsetup-1.1.0.jar options 1.1 4.3 notest
sudo chmod +x runsikulix


Hope this helps

-- 
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 #452507]: Sikuli crashing when monitor is turned off.

2017-02-19 Thread dinev
Question #452507 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452507

dinev proposed the following answer:
Try to change all sleep options to "never" in windows power options

-- 
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 #452783]: Can images be reused across Sikuli instances that are installed on different OS?

2017-02-19 Thread dinev
Question #452783 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452783

dinev proposed the following answer:
My experience shows that it will depend on type of application you are
testing.

I have been successfully reusing 95+% images between OSes when testing
web apps in chrome(or electron)

You can use hierarchical UI maps that actually inherit and override
different images.

-- 
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 #452897]: Unable to type '_' and capital letters in VNC screen

2017-02-19 Thread dinev
Question #452897 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452897

dinev posted a new comment:
I am not sure if you are using type command correctly. Why ENTER is used
as modifier?

Here is type command definition

type([PSMRL, ]text[, modifiers])
Type the text at the current focused input field or at a click point specified 
by PSMRL.

Parameters: 
PSMRL – a pattern, a string, a match, a region or a location that evaluates to 
a click point.
modifiers – one or more modifier keys (Class Key)

-- 
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 #459923]: Sikuli Project deployment on windows machines without Sikuli installed --- not possible

2017-02-19 Thread dinev
Question #459923 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/459923

Status: Open => Answered

dinev proposed the following answer:
If you need to deploy sikuli script with all required elements you will need 
more technical experience.
Here is what I would do:

1. Get familiar with sikuli console installation options
2. get familiar with java console installation options
3. create a batch file for windows that deploys all necessary things for you
Or use some free software installer products

Hope this helps

-- 
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 #460618]: from sikuli import *. ImportError: No moude named sikuli

2017-02-19 Thread dinev
Question #460618 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/460618

Status: Open => Answered

dinev proposed the following answer:
How you are running your script ?

http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html

it should be

runsikulix.cmd -r 

-- 
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 #460620]: How to use function if

2017-02-19 Thread dinev
Question #460620 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/460620

dinev proposed the following answer:
Just to support RaiMan - we can give you "if" exaple but you will stuck
almost immediately with another basic problem

However, here is something that will help you with your question 
https://www.tutorialspoint.com/python/python_if_else.htm

-- 
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 #464203]: App.open() not working on Windows Server 2012

2017-02-19 Thread dinev
Question #464203 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/464203

Status: Open => Answered

dinev proposed the following answer:
Some ideas to try:

0. try working within Sikuli IDE
1. try using run() command
2. try runing another application - like Notepad - is it working?
3. try using pure jython

import os
os.system("app_to_run")

4. compose a .bat file that will start your app and then try to run the
bat from sikuli command - run, open, etc..


Just wondering if this may be a permission promblem? Maybe you need
elevated permissions...

Hope this helps

-- 
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 #466394]: test case report as pdf

2017-02-19 Thread dinev
Question #466394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/466394

Status: Open => Answered

dinev proposed the following answer:
To large extend it is up to the automation developer to provide neccesary 
framework for this
For example you can try using Robot framework togheter with Sikuli. This will 
give you nice business reporting

Here are some usefullinks for you to start with:

https://www.google.com/search?q=robot+framework+sikuli

http://robotframework.org/
http://blog.mykhailo.com/2011/02/how-to-sikuli-and-robot-framework.html
https://www.youtube.com/watch?v=JE-CPMERYzE

-- 
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] [Bug 966708] Re: [1.0.1] KeyModifier.WIN uses alt in linux

2016-03-28 Thread dinev
On Linux Ubuntu 14.04 LTS following doesn’t not work with Sikuli 1.1.0

type("d", KeyModifier.WIN) # minimize all
type("r", KeyModifier.WIN) # open run menu

Any ideas what could be the problem?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/966708

Title:
  [1.0.1] KeyModifier.WIN uses alt in linux

Status in Sikuli:
  In Progress

Bug description:
  I tried using type(' ', KeyModifier.WIN),  I also tried .KEY_WIN,
  .META, and .KEY_META, but all seem to just pass Alt+whatever.

  I'm trying to use it to activate WIN+r through a RDP connection.  I
  know it's passing Alt, because I can use it to activate local hotkeys.

  I'm on Linux Mint 12, using Sikuli X 1.0rc3 (r905) 64 bit.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/966708/+subscriptions

___
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] [Bug 966708] Re: [1.0.1] KeyModifier.WIN uses alt in linux

2016-03-28 Thread dinev
and the console says
[log] ( Windows ) TYPE "d"

[log] ( Windows ) TYPE "r"

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/966708

Title:
  [1.0.1] KeyModifier.WIN uses alt in linux

Status in Sikuli:
  In Progress

Bug description:
  I tried using type(' ', KeyModifier.WIN),  I also tried .KEY_WIN,
  .META, and .KEY_META, but all seem to just pass Alt+whatever.

  I'm trying to use it to activate WIN+r through a RDP connection.  I
  know it's passing Alt, because I can use it to activate local hotkeys.

  I'm on Linux Mint 12, using Sikuli X 1.0rc3 (r905) 64 bit.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/966708/+subscriptions

___
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 #280915]: Auto generated images names causes a problem

2016-01-13 Thread dinev
New question #280915 on Sikuli:
https://answers.launchpad.net/sikuli/+question/280915

In the new sikuli 1.1 there is a nice feature that automatically names your 
images.
For example

class screenDialog1:
button_OK =

If you put your cursor after "=" and take a image the name will aromatically 
generated -> button_OK.png
That excellent idea however there is a problem
In a bigger UI map you will definitely have more dialogues screen with 
different buttons... like this:

class screenDialog1:
button_OK = "button_OK.png"
class screenDialog2:
button_OK =

now if you put your cursor on after "=" on the second button_OK and try to get 
image you will mess up your UI map without even knowing it. The problem is that 
sikuli will again generate "button_OK.png" and will replace the first one. 
There is no warning and even no visual change in in the first button until you 
reload sikuli.

Suggested fix:
- when image already exist just pop up dialogue for user to enter different name
or
- in old 1.0 sikuli there was automatic indexation 1,2,3 etc
or
- if you are in a class you may compose image name like this: 
screenDialog1.button_OK.png

Neven
ps: bug is logged here https://bugs.launchpad.net/sikuli/+bug/1529457

-- 
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 #280523]: Captured images are grayed

2016-01-13 Thread dinev
Question #280523 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280523

dinev posted a new comment:
Same with 1.1.1

-- 
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] [Bug 1529457] [NEW] Auto generated images names causes a problem

2015-12-27 Thread dinev
Public bug reported:

In the new sikuli 1.1 there is a nice feature that automatically names your 
images.
For example

class screenDialog1:
button_OK =

If you put your cursor after "=" and take a image the name will aromatically 
generated -> button_OK.png
That excellent idea however there is a problem
In a bigger UI map you will definitely have more dialogues screen with 
different buttons... like this:

class screenDialog1:
button_OK = "button_OK.png"
class screenDialog2:
button_OK =

now if you put your cursor on after "=" on the second button_OK and try
to get image you will mess up your UI map without even knowing it. The
problem is that sikuli will again generate "button_OK.png" and will
replace the first one. There is no warning and even no visual change in
in the first button until you reload sikuli.

Suggested fix:
- when image already exist just pop up dialogue for user to enter different name
or
- in old 1.0 sikuli there was automatic indexation 1,2,3 etc
or
- if you are in a class you may compose image name like this: 
screenDialog1.button_OK.png

Happy holidays
Neven

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1529457

Title:
  Auto generated images names causes a problem

Status in Sikuli:
  New

Bug description:
  In the new sikuli 1.1 there is a nice feature that automatically names your 
images.
  For example

  class screenDialog1:
  button_OK =

  If you put your cursor after "=" and take a image the name will aromatically 
generated -> button_OK.png
  That excellent idea however there is a problem
  In a bigger UI map you will definitely have more dialogues screen with 
different buttons... like this:

  class screenDialog1:
  button_OK = "button_OK.png"
  class screenDialog2:
  button_OK =

  now if you put your cursor on after "=" on the second button_OK and
  try to get image you will mess up your UI map without even knowing it.
  The problem is that sikuli will again generate "button_OK.png" and
  will replace the first one. There is no warning and even no visual
  change in in the first button until you reload sikuli.

  Suggested fix:
  - when image already exist just pop up dialogue for user to enter different 
name
  or
  - in old 1.0 sikuli there was automatic indexation 1,2,3 etc
  or
  - if you are in a class you may compose image name like this: 
screenDialog1.button_OK.png

  Happy holidays
  Neven

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1529457/+subscriptions

___
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] [Bug 1529457] Re: Auto generated images names causes a problem

2015-12-27 Thread dinev
** Description changed:

  In the new sikuli 1.1 there is a nice feature that automatically names your 
images.
  For example
  
  class screenDialog1:
- button_OK = 
+ button_OK =
  
  If you put your cursor after "=" and take a image the name will aromatically 
generated -> button_OK.png
  That excellent idea however there is a problem
  In a bigger UI map you will definitely have more dialogues screen with 
different buttons... like this:
  
  class screenDialog1:
- button_OK = "button_OK.png" 
+ button_OK = "button_OK.png"
  class screenDialog2:
- button_OK = 
+ button_OK =
  
  now if you put your cursor on after "=" on the second button_OK and try
  to get image you will mess up your UI map without even knowing it. The
  problem is that sikuli will again generate "button_OK.png" and will
  replace the first one. There is no warning and even no visual change in
  in the first button until you reload sikuli.
  
  Suggested fix:
  - when image already exist just pop up dialogue for user to enter different 
name
  or
  - in old 1.0 sikuli there was automatic indexation 1,2,3 etc
  or
- - if you are in a class you may compose image name like this: 
screenDialog1.button_OK 
- 
+ - if you are in a class you may compose image name like this: 
screenDialog1.button_OK.png
  
  Happy holidays
  Neven

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1529457

Title:
  Auto generated images names causes a problem

Status in Sikuli:
  New

Bug description:
  In the new sikuli 1.1 there is a nice feature that automatically names your 
images.
  For example

  class screenDialog1:
  button_OK =

  If you put your cursor after "=" and take a image the name will aromatically 
generated -> button_OK.png
  That excellent idea however there is a problem
  In a bigger UI map you will definitely have more dialogues screen with 
different buttons... like this:

  class screenDialog1:
  button_OK = "button_OK.png"
  class screenDialog2:
  button_OK =

  now if you put your cursor on after "=" on the second button_OK and
  try to get image you will mess up your UI map without even knowing it.
  The problem is that sikuli will again generate "button_OK.png" and
  will replace the first one. There is no warning and even no visual
  change in in the first button until you reload sikuli.

  Suggested fix:
  - when image already exist just pop up dialogue for user to enter different 
name
  or
  - in old 1.0 sikuli there was automatic indexation 1,2,3 etc
  or
  - if you are in a class you may compose image name like this: 
screenDialog1.button_OK.png

  Happy holidays
  Neven

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1529457/+subscriptions

___
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] [Bug 1528642] Re: type("v", KEY_CTRL) not pastng the value copied

2015-12-27 Thread dinev
Hi,

In order to verify your issue I done similar example -
http://screencast.com/t/NqqyYz0AmblJ - that seems to work fine

Just wndering why you are using type in such strange way(not sure it
will work at all)

Can you try just with plain type as in my example.

Also you may try using value from clipboard directly - Env.getClipboard
(http://doc.sikuli.org/globals.html#Env.getClipboard)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1528642

Title:
  type("v", KEY_CTRL) not pastng the value copied

Status in Sikuli:
  New

Bug description:
  I am trying to copy multiple cells from excel and paste it on a new
  excel file with the command type("v"+KEY_CTRL). It pastes the value
  "1" only. I checked this by print type("v"+KEY_CTRL) still getting 1
  only.

  click("1450733489461.png") # this is an image in the report which has
  the value HC00184829

  type("c", KEY_CTRL)  #above value copies correctly  in the excel sheet which 
is already on the screen
  but the following command fails.
  print type('v', KEY_CTRL)  # prints the value "1"

  also fails the following which is my actual requirement. It prints the
  value "1"(without double quotes) on cell(0,0)

  import xlwt
  book1 = xlwt.Workbook()
  sheet1 = book1.add_sheet("Sheet1",cell_overwrite_ok=True)
  print type('v', KEY_CTRL)
  sheet1.write(0,0,type('v', KEY_CTRL))
  book1.save("C:\\sikuli_applications\\bbq_patient.sikuli\\bbq_data.xls")

  
  I am using sikuli 1.1.0 on windows 7 32 bit

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1528642/+subscriptions

___
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 #267953]: Sikuli 1.1 new folder structure

2015-06-10 Thread dinev
Question #267953 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267953

Status: Answered = Solved

dinev confirmed that the question is solved:
Thanks

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #267953]: Sikuli 1.1 new folder structure

2015-06-09 Thread dinev
New question #267953 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267953

In sikuli 1.0.1 all program files were installed in one folder. In 1.1 the 
setup put files in Appdata also. The old way was very useful for test setup - 
just copy sikuli folder with all your tests and you are done. 

Is there any reason to make new sikuli not portable but installable?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #267953]: Sikuli 1.1 new folder structure

2015-06-09 Thread dinev
Question #267953 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267953

dinev posted a new comment:
So I need only the stuff extracted where sikuli setup was started?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #266816]: Just wondering when Sikuli 1.1.0 will be final

2015-05-12 Thread dinev
New question #266816 on Sikuli:
https://answers.launchpad.net/sikuli/+question/266816

I would like to move my tests to 1.1.0 but planed final was moved few times. 
What is holding the final release and when we can expect it?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #256468]: How to use unattended install in ne sikuli 1.1

2014-10-31 Thread dinev
Question #256468 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256468

Status: Answered = Solved

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

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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] [Bug 905048] Re: [request] want option to highlight matches on every find

2014-02-05 Thread dinev
how can I switch on this option on/off?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/905048

Title:
  [request] want option to highlight matches on every find

Status in Sikuli:
  Fix Released

Bug description:
  In order to aide in the debugging of scripts, it would be helpful to
  have an option for every find/exists and similar operations execute
  the highlight operation.  Additionally, highlighting the region in a
  separate color would improve debug as well.  This would allow users to
  see what Sikuli is seeing sees during testing.

  Testing with Sikuli 1.0-RC2 on 32-bit windows.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/905048/+subscriptions

___
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 #173098]: Instead of better IDE... why not using Eclipse or NetBeans

2013-11-08 Thread dinev
Question #173098 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/173098

dinev posted a new comment:
It is really old topic but I would like to tell why I need the Sikuli
IDE:

-- I need it for GUI map design and management
-- I need to get images
-- I need to experiment with similarity of the image - matching
-- I need to tune click point 

I use another Eclipse based tool for tests development.

My 2c ;-)

You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: [1.0 ]Sometimes wait hangs in sikuli 1.0

2013-11-08 Thread dinev
Question #230237 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230237

Status: Answered = Solved

dinev confirmed that the question is solved:
Seems that problem disappear in last version. I upgraded back in
September and waited 2 months to confirm that I do not face the problem
anymore.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: [1.0.1] having various problems with setup

2013-09-25 Thread dinev
Question #236188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236188

Status: Answered = Solved

dinev confirmed that the question is solved:
Thanks, the workaround works

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: [1.0.1] Sikuli install hangs

2013-09-24 Thread dinev
Question #236188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236188

Status: Solved = Open

dinev is still having a problem:
Still problem is not solved.
Steps:
1. I downloaded the zip files and extracted in c:\sikuli
2. Started setup jar that extracted setup cmd 
3. Started setup cmd and selected 1 and 5 option

as result: ide jar file was deleted for the folder and set with size 0
and obviously download started again

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: [1.0.1] Sikuli install hangs

2013-09-24 Thread dinev
Question #236188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236188

Status: Answered = Open

dinev is still having a problem:
Sorry,

I finally got it. Unfortunately the read.me was not clear enough that
new folder Download  should be created as a child of the current
folder.

However I still have some questions

-- I want to have IDE and console run options OCR. In the setup it is written 
that option 1 installs console too. But RunScript.cmd appear only after 
installing option 2.
-- option 2 can be installed after option 1, but when i should select option 5. 
When running install for option 1 or option 2. Option 5 cannot be executed 
standalone

-- I double clicking on sikuli-tessdata.jar jar file result in Error:
Invalid or corrupt jarfile sikuli-tessdata.jar. Is this OK? Doesn't
happen for other jars

Thanks for the help

You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: [1.0.1] having various problems with setup

2013-09-24 Thread dinev
Question #236188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236188

dinev posted a new comment:
I done the installation in the right way(2nd and 5th option) and run my tests 
with new sikuli. 
Unfortunately I am getting error on the OCR.

FindFailed: FindFailed: Text search currently switched off
  Line 1671, in file Region.java

I can confirm that sikuli/lib folder contains libtesseract-3.dll - I
guess this is needed for ocr.

Any advice on this problem.(Note my test are running fine with 1.0.0)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: Sikuly 1.01 install hangs

2013-09-23 Thread dinev
New question #236188 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236188

I downloaded the sikuly setup jar file - 17MB(takes few seconds on my 
connection)
I run the install and select IDE installation

A download of 13 MB is stared - it is extremely slow and actually it hangs (at 
one machine at 3% and on another at 24%)

The log says: downloading sikuli-ide-1.0.1.jar  - but no error printed

So I cannot install the latest version. Please provide advice

I have question as well: Can i get all needed jar files instead of downloading 
them run-time. I believe this is much better and reliable way to install the 
tool.

Thanks



-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236192]: Find text (OCR) failed after upgrade from 1.0 to 1.0.1

2013-09-23 Thread dinev
Question #236192 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236192

Status: Needs information = Open

dinev gave more information on the question:
I tried : It says Nothing selected ?!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: [1.0 ]Sometimes wait hangs in sikuli 1.0

2013-09-10 Thread dinev
Question #230237 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230237

dinev posted a new comment:
Nicole,

Could you try to add sleep(1) before  the wait command? 
I had some partial success to mitigate my problems in this way.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: [1.0 ]Sometimes wait hangs in sikuli 1.0

2013-07-26 Thread dinev
Question #230237 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230237

Status: Needs information = Open

dinev gave more information on the question:
1. AUT = Application Under Tests

2. The AUT never should cause sikuli to hang.  That is the whole point
of this post. For sure i reproduced problem against Desktop WPF
application and against Crome browser. So I believe AUT is not the
reason for the hang. As far I know sikuly just click on some coordinates
and doesn't care about application itself(In contrast to Selenium or
QTP,Autoit tools)

3. I really do not know how sikuli executes the click, type or wait
commands. I just noticed the regression from r3 to 1.0. I believe it is
the click that hangs.

I will continue to monitor my tests for such problems and will report
them back

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #232962]: Sikuli doesn't work if reduce or close Remote Desktop

2013-07-25 Thread dinev
Question #232962 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/232962

Status: Open = Answered

dinev proposed the following answer:
This is well known problem.

First of all you should not close your RDC. If you do this the machine
becomes headless - NO UI. Any UI automation tool will fail in this case

However You can solve the minimize problem by following those
instructions

http://www.8bitavenue.com/2012/10/running-gui-tests-in-minimized-
windows-remote-desktop/

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: [1.0 ]Sometimes wait hangs in sikuli 1.0

2013-07-25 Thread dinev
Question #230237 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230237

Status: Answered = Open

dinev is still having a problem:
I got this problem again today - 2 times. One test hangs for 13 hours.
Another for 3h.

The problem is not the AUT. If it is doesn't react to the click that
fine - it is AUT bug. My big concern is that sikuli hangs indefinitely.
This should never happen. Test should always complete and fail if AUT
doesn't perform as expected.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #231085]: Select an image text may prevent image capture

2013-06-20 Thread dinev
New question #231085 on Sikuli:
https://answers.launchpad.net/sikuli/+question/231085

During Take screenshot the Select an image text may overlap the screen area 
where I want to do my selection.  It is inconvenience and not necessary to have 
such text.

This text was not present in previous version

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: [1.0 ]Sometimes wait hangs in sikuli 1.0

2013-06-12 Thread dinev
Question #230237 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230237

dinev gave more information on the question:
I have new doubt now. In the console log i see the Type and Click
written. Is there any possibility that click fail. Because the condition
I saw today make me believe click was not performed. But it may be the
AUT bug...

Another thing. The click is performed on button that changes its color
on mouse over

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: [1.0 ]Sometimes wait hangs in sikuli 1.0

2013-06-11 Thread dinev
Question #230237 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230237

Status: Needs information = Open

dinev gave more information on the question:
1. Default scan rate. As far I remember it was 3 scans/sec

2. The typical  case:

type(some_text)
click(some_image)
wait(some_image, timeout)

in the console i can see that type and click are executed. Wait hangs
for hours(timeout is usually 10 to 60 seconds)

I will continue to monitor the test and will add more info if another
pattern appear

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: Sometimes wait hangs in sikuli 1.0

2013-06-06 Thread dinev
Question #230237 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230237

Summary changed to:
Sometimes wait hangs in sikuli 1.0

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #230237]: Sometimes wait fails in sikuli 1.0

2013-06-05 Thread dinev
New question #230237 on Sikuli:
https://answers.launchpad.net/sikuli/+question/230237

I have a lot test cases that were running fine since November  2011.  After 
updating to v1.0 on 23 May 2013  I start to notice that sometime test freezes 
on wait command. So test set never completes and sits in this way for hours. 
The system and application itself are working fine. Unfortunately I cannot give 
much more information since no errors are shown in sikuli console.

This problem never ever happened on rc3 on sikuli for thousands of runs

Does anyone experience such problem. What can i do to provide more debug info 
if this happens again - some command line switches on run that would be useful?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #220737]: X-1.0? unittest2: update of Sikuli's Jython for unittest

2013-06-05 Thread dinev
Question #220737 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220737

dinev posted a new comment:
Hi,

Just wondering if this is available in version 1.0?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #176005]: [HowTo] Nice unit test runner with html output

2013-04-04 Thread dinev
Question #176005 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/176005

dinev posted a new comment:
Those are definitions of your tests in form of methods. The actual test
code goes there

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #215940]: One display in pattern setting - matching preview

2012-12-04 Thread dinev
New question #215940 on Sikuli:
https://answers.launchpad.net/sikuli/+question/215940

Can I somehow configure sikuli IDE to show/search only on my primary screen.  
It will be more convenient then to explore the result. 

Or is there any way to zoom in into Matching preview

Thanks

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #213868]: Some keys not work against VNC

2012-11-16 Thread dinev
Question #213868 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/213868

dinev gave more information on the question:
Thanks,

I tried tigerVNC but it behaves in same way - manually home key works
but when send via silkily it doesn't

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #213868]: Some keys not work against VNC

2012-11-16 Thread dinev
Question #213868 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/213868

dinev gave more information on the question:
I done new experiment with autoIT. Sending HOME and arrow keys work
against VNC. So it seems the problem is in sikuli .

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #213868]: Some keys not work against VNC

2012-11-10 Thread dinev
New question #213868 on Sikuli:
https://answers.launchpad.net/sikuli/+question/213868

Here is my setup: Windows XP 32b, US layout, VNC running against android. 

I was able manually to send all required key strokes like a,b,c,1,2,3 and 
enter, pageup, page down, home, etc to VNC and respectively to android .
When executing  my automated script against VNC the page up/down key, home, and 
some others doesn't work at all.
For sure I have working a,b,c,1,2,3 and enter

I done test against notepad... everything seems fine - keys are send correctly

I tested with few VNC clients - same effect

Ideas anyone ?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #206943]: How to simple count items returned by FindAll

2012-08-31 Thread dinev
Question #206943 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/206943

Status: Answered = Solved

dinev confirmed that the question is solved:
Tested - Working

Thanks

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #207285]: image comparison fails

2012-08-31 Thread dinev
Question #207285 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207285

Status: Open = Answered

dinev proposed the following answer:
I just done simple test on https://launchpad.net/sikuli with to see how
recorded image is recognized.  it works fine with exception that it is
relatively slow on my 21 widescreen.

But in general i think the approach of validating if web site is loaded
is not correct. I would suggest following

-- On the site homepage take 2 - 3 major elements that should be
present. They may be ones that you will use afterwards anyway. Search
for them

-- Copy the whole content of the page by clicking in the middle and
doing ctrl-a-c. The using the power of python check that some expected
texts are there and some unexpected are not there(like exception and
error)

I believe that above approach is more reliable since it will tolerate
significant changes in website layout.

Hope this helps

You received this question notification because you are a member of
Sikuli Drivers, which 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 #207243]: Fullscreen app doesn't respond to sikuli command

2012-08-31 Thread dinev
Question #207243 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207243

Status: Open = Answered

dinev proposed the following answer:
If the goal is just to dismiss this app you may try to use non sikuli
approach here.

 --try to kill it with pskill ( this is sysinternals/pstools command)
-- try usin AutoIT(this is good free automation tool)

Btw sikuli has appClose command as well :-)

You received this question notification because you are a member of
Sikuli Drivers, which 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 #207359]: How to verify in tearDown that test failed

2012-08-31 Thread dinev
New question #207359 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207359

This is maybe not a sikuli question but its worth asking here :-)

I would like to take some actions when particular test(in a test class) fail. 
The best/only way to do this is in tearDown method that is common for all tests 
in the class. The question is how to understand that the case before entering 
in tearDown was failed.

I tried 

def tearDown(self):
if (self.failureException is AssertionError): 
# do something to recover

but it seems it is executed even the particular test before that passed

Any ideas from jython masters


-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #206943]: How to simple count items returned by FindAll

2012-08-29 Thread dinev
Question #206943 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/206943

Status: Solved = Open

dinev is still having a problem:
Oops. I tried today and I got error

 print len(fa)
TypeError: object of type 'org.sikuli.script.Finder' has no len()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #203035]: Sikuli on Windows 8

2012-07-13 Thread dinev
New question #203035 on Sikuli:
https://answers.launchpad.net/sikuli/+question/203035

Hi all,

Could you please share experience of running sikuli on Window 8 (32bit or 
64bit).
I am interested if it runs at all and any consideration that should be taken 
into account


Thanks

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #199894]: Roadmap

2012-06-19 Thread dinev
Question #199894 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199894

dinev posted a new comment:
RaiMan, I am interested too :-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #193923]: How to select a text containing a common word

2012-04-25 Thread dinev
Question #193923 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/193923

dinev proposed the following answer:
I have another suggestion. Let say page looks like

---
Name:
File Name:
---
So when selecting the image for just Name include the white space before it - [ 
   Name:].  Then change similarity level to 90%. It will find Name only

I also support idea of selecting first field and using TAB to go to next
fields(Unless you need to do something more than just entering data)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #193048]: How to create test execution reports in sikuli

2012-04-25 Thread dinev
Question #193048 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/193048

Removed link to bug: #176005
https://bugs.launchpad.net/bugs/176005
Please sponsor gtk-vnc_0.3.0 into Hardy

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #193048]: How to create test execution reports in sikuli

2012-04-25 Thread dinev
Question #193048 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/193048

dinev posted a new comment:
This may help as well

[HowTo] Nice unit test runner with html output
https://answers.launchpad.net/sikuli/+question/176005

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #189002]: Problem with InternetExplorer textures/images on different machines

2012-03-09 Thread dinev
Question #189002 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/189002

dinev posted a new comment:
here some advices that my help:

-- make sure that your windows theme is same on both machines - fonts size, 
colours settings(number of colours)... etc.. I am fan of windows standard theme 
for functional testing:-)
-- make sure IE setting are the same - for example zoom of the browser is set 
to 1:1(ctrl+0)
-- do a test for let say calculator and run it on both machines to see if it 
works

You received this question notification because you are a member of
Sikuli Drivers, which 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 #188994]: I am very much happy with sikuli ...But i have concern , say if my image is going to change in future ...Then how sikuli works?

2012-03-09 Thread dinev
Question #188994 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/188994

Status: Needs information = Answered

dinev proposed the following answer:
Whenever I am testing an application I am building an UI map that
represents the element I am working with. All tests uses the logical
name of the UI elements(never refer directly to the image). This is my
first level of abstraction. Whenever something changes(this always
happens a lot :-)) I am updating my UI map. Simple as that.

A for the click. The language used for sikuli is jython(python). So
developers can be fully satisfied with the sikuli way :-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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


  1   2   >