Re: [Sikuli-driver] [Question #261956]: Overwrite during image capture

2015-02-11 Thread Collin Tobin
Question #261956 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261956

Status: Answered = Solved

Collin Tobin confirmed that the question is solved:
Thanks, I will file that. Appreciate the prompt and thorough responses.

-- 
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 #261956]: Overwrite during image capture

2015-02-11 Thread RaiMan
Question #261956 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261956

RaiMan proposed the following answer:
ok, understood.

A capture (no image file  found) and recapture option at
FindFailedResponse PROMPT will be available anyway in version 2 (might
be in a 1.1.x revision later this year) and additionally a response type
HANDLER specifying a handler, where you can do whatever you want before
resuming (like with observe).

... but sorry for now: no solution for your workflow currently.

I will add an option
Settings.OverwriteImages = false (as default)

So when available in one of the next nightly builds of 1.1.0, you might try it 
out:
somewhere at the beginning of a script session simply say 
Settings.OverwriteImages = true

and on recapture the images will be overwritten without notice (since
you know, what you are doing).

You might as well post a request bug and watch when it is tagged
FixCommitted/Critcal, which signals the availability in the nightly
build.

-- 
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 1420866] Re: Need IDE settings to overwrite captured images

2015-02-11 Thread RaiMan
Very well done. Thanks.

** Changed in: sikuli
   Status: New = Fix Committed

** Changed in: sikuli
   Importance: Undecided = High

** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None = 1.1.0

** Summary changed:

- Need IDE settings to overwrite captured images
+ [1.1.0] Need IDE settings to overwrite captured images

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

Title:
  [1.1.0] Need IDE settings to overwrite captured images

Status in Sikuli:
  Fix Committed

Bug description:
  Would like the option of a setting to overwrite images of the same
  name during the screen capture process.

  Using Sikuli IDE 1.0.1 / Win 7 64 bit.

  From an earlier thread with
  RaiMan:(https://answers.launchpad.net/sikuli/+question/261956)

  I will add an option
  Settings.OverwriteImages = false (as default)

  So when available in one of the next nightly builds of 1.1.0, you might try 
it out:
  somewhere at the beginning of a script session simply say
  Settings.OverwriteImages = true

  and on recapture the images will be overwritten without notice (since
  you know, what you are doing).

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1420866/+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 1420866] [NEW] Need IDE settings to overwrite captured images

2015-02-11 Thread Collin Tobin
Public bug reported:

Would like the option of a setting to overwrite images of the same name
during the screen capture process.

Using Sikuli IDE 1.0.1 / Win 7 64 bit.

From an earlier thread with
RaiMan:(https://answers.launchpad.net/sikuli/+question/261956)

I will add an option
Settings.OverwriteImages = false (as default)

So when available in one of the next nightly builds of 1.1.0, you might try it 
out:
somewhere at the beginning of a script session simply say
Settings.OverwriteImages = true

and on recapture the images will be overwritten without notice (since
you know, what you are doing).

** Affects: sikuli
 Importance: Undecided
 Status: New

** Description changed:

  Would like the option of a setting to overwrite images of the same name
  during the screen capture process.
  
  Using Sikuli IDE 1.0.1 / Win 7 64 bit.
  
- From an earlier thread with RaiMan:
+ From an earlier thread with
+ RaiMan:(https://answers.launchpad.net/sikuli/+question/261956)
  
  I will add an option
  Settings.OverwriteImages = false (as default)
  
  So when available in one of the next nightly builds of 1.1.0, you might try 
it out:
  somewhere at the beginning of a script session simply say
  Settings.OverwriteImages = true
  
  and on recapture the images will be overwritten without notice (since
  you know, what you are doing).

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

Title:
  Need IDE settings to overwrite captured images

Status in Sikuli:
  New

Bug description:
  Would like the option of a setting to overwrite images of the same
  name during the screen capture process.

  Using Sikuli IDE 1.0.1 / Win 7 64 bit.

  From an earlier thread with
  RaiMan:(https://answers.launchpad.net/sikuli/+question/261956)

  I will add an option
  Settings.OverwriteImages = false (as default)

  So when available in one of the next nightly builds of 1.1.0, you might try 
it out:
  somewhere at the beginning of a script session simply say
  Settings.OverwriteImages = true

  and on recapture the images will be overwritten without notice (since
  you know, what you are doing).

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1420866/+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 #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-11 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Answered = Open

Bipin is still having a problem:
I did all what you said and unfortunately it's still not working. (Note:
I have recently updated to jdk1.7.0_76)

My new details are follows:

User Variables:
PATH=C:\workspace\jars\SikuliX\libs
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_76

System Variables:
PATH = C:\Program Files\Java\jdk1.7.0_76\jre\bin; .. .. ..


C:\workspace\jars\SikuliX\sikuli-java  -- is it different from 
sikuli-script.jar? should i use this one instead?
C:\workspace\jars\sikuliapi\sikuli-api-1.0.1   -- yes, I want to use this as 
well in my project


My batch:

java -cp 
C:\workspace\jars\sikuliapi\sikuli-api-1.0.1.jar;C:\workspace\jars\sikuliX\sikuli-java.jar;C:\workspace\Contour\bin
 Emljava
pause

-- 
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 #261964]: How to get programmatically the results

2015-02-11 Thread RaiMan
Question #261964 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261964

Status: Open = Answered

RaiMan proposed the following answer:
the best would be to use the Python unittest module. There are add ons 
available the produce XML or HTML output.
see faq 1804

-- 
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 #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-11 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Bipin posted a new comment:
[Correction]:

System Variables:
PATH = C:\Program Files\Java\jdk1.7.0_76\bin; .. .. ..

-- 
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 #261892]: Sikulixsetup:jar:1.1.0 was not built

2015-02-11 Thread Levent
Question #261892 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261892

Status: Answered = Open

Levent is still having a problem:
I executed the command mvn exec:exec -X in setup folder but I again got
the same fault. The debug output is at below. What should I do?

levent@PC_Levent:~/GitRepositories/SikuliX-2014/Setup$ mvn exec:exec
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building sikulixsetup 1.1.0
[INFO] 
Downloading: 
https://repo.maven.apache.org/maven2/com/sikulix/sikulixlibsvision/1.1.0/sikulixlibsvision-1.1.0.pom
[WARNING] The POM for com.sikulix:sikulixlibsvision:jar:1.1.0 is missing, no 
dependency information available
Downloading: 
https://repo.maven.apache.org/maven2/com/sikulix/sikulixlibsvision/1.1.0/sikulixlibsvision-1.1.0.jar
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 3.944 s
[INFO] Finished at: 2015-02-11T21:15:55+02:00
[INFO] Final Memory: 7M/81M
[INFO] 
[ERROR] Failed to execute goal on project sikulixsetup: Could not resolve 
dependencies for project com.sikulix:sikulixsetup:jar:1.1.0: Failure to find 
com.sikulix:sikulixlibsvision:jar:1.1.0 in 
http://mvn.is.inf.uni-due.de:8081/nexus/content/repositories/atunes-dependencies/
 was cached in the local repository, resolution will not be reattempted until 
the update interval of uni-due.de has elapsed or updates are forced - [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
levent@PC_Levent:~/GitRepositories/SikuliX-2014/Setup$ mvn exec:exec -X
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 
2014-12-14T19:29:23+02:00)
Maven home: /usr/local/apache-maven/apache-maven-3.2.5
Java version: 1.6.0_33, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 3.2.0-75-generic, arch: amd64, family: unix
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from 
/usr/local/apache-maven/apache-maven-3.2.5/conf/settings.xml
[DEBUG] Reading user settings from /home/levent/.m2/settings.xml
[DEBUG] Using local repository at /home/levent/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for 
/home/levent/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.sikulix:sikulixsetup:jar:1.1.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from 
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.sikulix:SikuliX-2014:pom:1.1.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from 
ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, 
org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from 
POM com.sikulix:sikulixsetup:jar:1.1.0
[DEBUG] === REACTOR BUILD PLAN 
[DEBUG] Project: com.sikulix:sikulixsetup:jar:1.1.0
[DEBUG] Tasks:   [exec:exec]
[DEBUG] Style:   Regular
[DEBUG] ===
[INFO] 
[INFO] 
[INFO] Building sikulixsetup 1.1.0
[INFO] 
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, 
org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from 
POM com.sikulix:sikulixsetup:jar:1.1.0
[DEBUG] Lifecycle default - [validate, initialize, generate-sources, 
process-sources, generate-resources, process-resources, compile, 
process-classes, generate-test-sources, process-test-sources, 
generate-test-resources, process-test-resources, test-compile, 
process-test-classes, test, prepare-package, package, pre-integration-test, 
integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean - [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site - [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN 
[DEBUG] Project:   

Re: [Sikuli-driver] [Question #261964]: How to get programmatically the results

2015-02-11 Thread egavaldo
Question #261964 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261964

Status: Answered = Open

egavaldo is still having a problem:
One interesting things I've seen there is the XmlTestRunner that is able to 
produce JUnit-style XML reports.
This is exactly what I'm looking for.

But XStudio has already a pyUnit launcher.

What I need here is to create a SikuliX launcher that will work with any
sikuli tests.

Practically, from the launcher point of view (that is basically a robot
that just needs to execute some Sikuli tests and get back the  their
results and possibly some logs), I see how to execute the tests but
still don't get how to retrieve the results - knowing that this must be
able to work for ANY kind of Sikuli tests... not feasible? Is there in
the logs enough information that could be parsed?

-- 
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 #261971]: example of importing a .sikuli file to another detail in windows

2015-02-11 Thread Eduardo
New question #261971 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261971

I wish someone postasse an example of importing a .sikuli file and available 
all possible sources.

excuse me by the English.

thank you!

-- 
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 #261269]: task schedule in windows XP

2015-02-11 Thread Launchpad Janitor
Question #261269 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261269

Status: Open = Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #261262]: text() does not capture the full text

2015-02-11 Thread Launchpad Janitor
Question #261262 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261262

Status: Open = Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #261956]: Overwrite during image capture

2015-02-11 Thread Collin Tobin
New question #261956 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261956

I'd like to enable overwriting of images when capturing them. 

Sikuli is being very careful and renaming my image captures (if using the same 
name) by enumerating them image image-1 image-2. But most of my capturing 
is correcting an image, and I have to go and manually delete an image before 
recapturing which is very clunky. I'd rather a settings so that Sikuli will 
overwrite pre-existing captures.

Is there a way?

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 #261956]: Overwrite during image capture

2015-02-11 Thread RaiMan
Question #261956 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261956

Status: Open = Answered

RaiMan proposed the following answer:
Sorry, currently no changeable default behaviour.

this trick works:
- in Prefs - more activate delete unused images
- delete the icon you want to recapture
- save the script (if it is not used anywhere else in this script, the image 
file will be deleted)
- recapture and use the old name

If you want to use the same image in more than one place, always use
image1 = image1.png
find(image1)
...
click(image1)

... do not copy and paste thumbnails or image file names, so one image
filename will only be used in one place and the above trick works.

version 2 will have more options for this.

-- 
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 #261956]: Overwrite during image capture

2015-02-11 Thread Collin Tobin
Question #261956 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261956

Collin Tobin posted a new comment:
Thanks RaiMan. Unfortunately, in this scenario, I'm not updating my
script at all.

And I'm using my own custom functions to reference images so I can use
the same functions across different devices/platforms, like this:

def customWait(imageName, time, tolerance):

So despite the function/script being correct, quite often I'll have to
update the image in question. I have the script pausing execution when
an image isn't found. I'd like to just recapture the image while in a
paused state without having to manually delete the original.

My current workflow is:

1) Execute tests
2) Pause when image is not found (find failed response set to PROMPT)
3) If I deem a recapture necessary, I have to manually find and delete the 
original by hand
4) Recapture the new image (making sure the correct script has focus, otherwise 
the image gets saved in the wrong folder)
5) Resume the test

I'd love to be able to have an overwrite setting in the IDE to never
try to preserve an original with the Name the Screenshot dialog?

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 #261892]: Sikulixsetup:jar:1.1.0 was not built

2015-02-11 Thread RaiMan
Question #261892 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261892

Status: Open = Answered

RaiMan proposed the following answer:
before doing any special/selective Maven actions, you have to once run
mvn clean install at the top level.

To then run a setup in the project context, run mvn exec:exec in folder
Setup. You will get the final stuff in Setup/target/Setup.

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