← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162881]: Groovy API

 

Question #162881 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/162881

    Status: Needs information => Open

Ben Sullivan gave more information on the question:
Host = Windows 7 64 bit
VM = VMWare Windows 7 32 bit
Symptom = Sikuli cannot find the image file.  I have tried absolute paths, changing the SIKULI_IMAGE_PATH, explicitly settings location via Settings.BundlePath - none of these seem to work.  Note I am using the Java API and not the Sikuli IDE.

What other weird behaviour have you seen when using VMs?

Do you think there's scope to enhance the image recognition engine to
cope with things like windowing style changes?  I'm guessing there's
going to be some kind of text involved in the image capture to make it
unique enough to match on.

Thanks

Ben

On 27/06/2011, at 5:55 PM, RaiMan wrote:

> Your question #162881 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/162881
> 
>    Status: Open => Needs information
> 
> RaiMan requested more information:
> *** your main issue:
> 
> --- I am having some really weird image location issues
> 
> What kind of host systems?
> What kind of VM's?
> What are the symptoms?
> 
> If you are talking about VMware, VirtualBox or similar solutions: there
> are some weird things happening in these environments. Some Sikuli
> features are not running in different setups. But there is no consistent
> image about that.
> 
> --- Is the lp:sikuli branch the best place
> It is the only place to officially get the source. You need bazaar on your machine. Currently the source is already at X-1.0rc3.
> There is an unofficial github mirror: https://github.com/arnaudgelas/sikuli (about 24 hours late)
> They have implemented hudson, so you might download the current build: http://sikuli.org/hudson/
> 
> 
> *** the rest of your statement: 
> very good summary of Sikuli's "current limitations" regarding GUI awareness.
> 
> --- Groovy
> looks interesting. They are thinking about converting to Scala (https://blueprints.launchpad.net/sikuli/+spec/sikuli-moves-to-scala)
> 
> --- alternate API
> the real challenge in the moment: there is no consistent API ;-) (but I think, they are working on that). The Python layer has features, that are not available on the Java level. Many function signatures are different in the 2 layers. The Python layer knows a default screen, which is not available on the Java level. And some other minor aspects ...
> So principally you could implement an alternate API with any scripting language, that is Java aware (like Jython currently used, even Selenium might be possible).
> My favorite in the moment is JRuby.
> Another challenge: Currently there is no strict separation between the scripting level (now Python), the engine level (now Java) and the native system dependent layer (now C++).
> 
> --- I  think a lot of these could be overcome using a VM or running the script remotely
> One of the fascinating aspects of Sikuli is: it runs in front of your eyes and does what you would do, while you are drinking coffee. You are right from the standpoint of a system tester. But my experience with Sikuli Q&A tell me, that people, who are seriously testing software already have a testing framework and those who are based on Java or Python environments, have their dedicated machines, where the tests are run.
> 
> --- Cannot use the system whilst the scripts are running 
> Generally: When a script is running on a machine, "only" the GUI is blocked to some extent. But even this can be overcome by some effort in robust scripting. What still is left: If some other robot steels mouse and keyboard during a Sikuli script's run, you might be lost.
> 
> -- 
> 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/162881
> 
> You received this question notification because you asked the question.

Ben Sullivan
f:   +61 (0)7 33190991
w: bensullivan.net
LinkedIn

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.