Re: [Sikuli-driver] [Question #293512]: Adding Robotframework to SikuliX

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

Ryan posted a new comment:
I think I figured out how to fix the '.robot' directory deleting itself.

I did not have 'from sikuli import *' in my script before the
LoginLibrary class section.

I added that and now it seems to run each time.

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

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


Re: [Sikuli-driver] [Question #293512]: Adding Robotframework to SikuliX

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

Ryan posted a new comment:
I should add that when I ran the script a 2nd time the .robot directory
(that was created in the 1st run) was auto-deleted and the script
complained it couldn't find any files.  Another run of the script
created all the files again and outputted everything.

I am not certain if this test script is supposed to do anything (as in
actually launching firefox) because right now it is only popping up some
messages with an OK button.

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

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


Re: [Sikuli-driver] [Question #293512]: Adding Robotframework to SikuliX

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

Status: Answered => Solved

Ryan confirmed that the question is solved:
Hi RaiMan (or anyone else who is curious,

I thought I would share the steps I needed to take to get robot working
now that a new build has been kicked off.

- I had to download the new nightly build of 1.1.1 (2016-05-19)
- I nuked my old SikuliX install and reinstalled the one from 05-19
- I downloaded the Robot zip file from here: http://download.sikuli.de/robot.zip
- I unzipped that zip file into %AppData%/SikuliX/Lib
- I pasted the test robot testcase directly into a new script in SikuliX from 
here: 
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

The script ran and I see all the expected files - including the report
files!  WooOOO!

The reason I had to download the robot.zip file was because SikuliX was
complaining, when I ran the script, before getting the zip, that a
platform.py file was missing.  Diffing the zip file against what SikuliX
installs by default to the Lib/robot dir - the zip came in at a few K
lighter, but contained ~4 extra files.

Now all I need to do is dive into how to tweak the report/script to my
liking.

-- 
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 #293910]: Issues with sikuli api 1.1.0 and 1.2.0

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

Status: Open => Answered

RaiMan proposed the following answer:
sorry, this is a different package.

has nothing to do with that we are talking about here:
http://sikulix.com

-- 
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 #293884]: IDE window resize causes freeze and exception

2016-05-19 Thread Dave
Question #293884 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293884

Dave posted a new comment:
I'll download it and check it out, thanks!

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

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


Re: [Sikuli-driver] [Question #293884]: IDE window resize causes freeze and exception

2016-05-19 Thread Karl
Question #293884 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293884

Status: Open => Answered

Karl proposed the following answer:
1.0.1 isn't really supported anymore. Have you tried out 1.1.0.

-- 
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 #293839]: Certain screenshots not recognized when passed between testers

2016-05-19 Thread Karl
Question #293839 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293839

Status: Open => Answered

Karl proposed the following answer:
Rendering can be different across machines, but also copies or originals
change/lose originality/similarity. Keep your process one layer of
capturing -- put your Snaggit captures into the .sikuli folders. Using
"Insert image" is the way to get externally captured images into the IDE
(Enhancement Request: Drag/drop would be nice to facilitate 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 #293847]: How to gracefully interrupt running script when using SwingWorker and JFrame?

2016-05-19 Thread Karl
Question #293847 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293847

Status: Open => Answered

Karl proposed the following answer:
You can try:
  finally:
print "***Automation Stuff Should End***"

instead of:
  except InterruptedException:
print "***Automation Stuff Should End***"

-- 
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 #293874]: I want to find a Element e.g. a Drop down icon in my Page.

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

Status: Open => Answered

masuo proposed the following answer:
[Example:]
If you want to specify the area to search for the plus sign, you can use 
Region().

w = 20
h = 20
for x in range(20,100,w):
for y in range(20,100,h):
r = Region(x,y,w,h)
r.highlight(1)
if r.exists("plus.png",0):
r.click()

-- 
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 #293910]: Issues with sikuli api 1.1.0 and 1.2.0

2016-05-19 Thread Jim Theisen
Question #293910 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293910

Status: Needs information => Open

Jim Theisen gave more information on the question:
Maven central using the pom dependency.  I tried 1.1.0 first, that's the
version that has the dependencies on com.googlecode.javacv that don't exist
in maven central.   There is a 1.2.0 that fixes the dependency to be
org.bytedeco javacv but it's dependant on 2.4.9 opencv.  Your released
1.1.0 of the libs and installer for the ide is 2.4.8 based.
On May 19, 2016 12:57 AM, "RaiMan" 
wrote:

> Your question #293910 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/293910
>
> Status: Open => Needs information
>
> RaiMan requested more information:
> what is 1.2.0 exactly? Where and how do you get it?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/293910
>
> You received this question notification because you asked the 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 #293874]: I want to find a Element e.g. a Drop down icon in my Page.

2016-05-19 Thread Amit Haldar
Question #293874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293874

Amit Haldar gave more information on the question:
I am using eclipse with sikuli

-- 
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 #293874]: I want to find a Element e.g. a Drop down icon in my Page.

2016-05-19 Thread Amit Haldar
Question #293874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293874

Status: Answered => Open

Amit Haldar is still having a problem:
Hi All,

Its still not helpful in my case. I have multiple + sign in my page.
What if I want to use single image and in that image I want to pass X,Y
coordinates to identify the + sign. And for the next time I will use the
same image and pass X,Y coordinate for the second +  sign.

Is this possible , If yes then please suggest a example.

Guys you are doing wonderful job, I am new to the automation field and
new to programming as well. Please give me example by which i can
understand easily.

Thanks in Advance

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