sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11295
Re: [Bug 1013814] Re: Take a screen shot on Ubuntu 10.04 SikuliX-1rc3 does not work
On 06/16/2012 12:57 AM, RaiMan wrote:
> Seems to be a 64-Bit Linux??
> Have the 64-Bit version of Sikuli installed, guess so;-)
>
> In terminal window pls. enter
>
> java -jar path-to-sikuli-script.jar -i
>
> which should open an interactive Sikuli command line session
>
> enter:
>
> print capture()
>
> this is the command behind the auto-screenshot-feature in the IDE.
>
> What happens? what is the printout on command line?
>
RaiMan,
I figured it out. One issue was that I did not have opencv installed.
That took a bit of work. I would have thought that Sikuli would have
checked some how. Once I got opencv going running the above worked
fine. I then ran the ide and have been having fun with my first gui
test script. Sweet!
A note for the documentors, it is much easier to get something to work
when using a browser by using the App.open. In fact I could not get the
images recognized even if I had the focus in the correct browser tab.
(e.g. click(), etc... for a new user using knowing about wait is really
important too.
Thanks again for the quick replies. This app is finally given me a
reason to use the python I learned. :-)
___
RR (Mark Donohoe)
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1013814
Title:
Take a screen shot on Ubuntu 10.04 SikuliX-1rc3 does not work
Status in Sikuli:
New
Bug description:
Using the latest Sikiuli rc3 (r905) on Ubuntu 10.04 take a screen shot
appears to work the first time, but no image is inserted into the IDE.
This is using FF 13.
To reproduce:
1. Launch the Sikuli IDE
2. insert click(
3. Take a screen shot of a button
4. Notice that there is no image inserted into the ide.
5. After this, take a screen shot seems to do nothing (it will not longer change the screen and change the cursor etc...)
This is a 64 bit system. I keep my system up to date with updates and
security patches. This is also a dual monitor system, but having the
ide on the same screen or a different screen doesn't seem to make any
difference in the above operation. The same version of Sikuli seems
to work fine on windows with IE 8 using the laptop screen.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1013814/+subscriptions
References