sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06237
Re: [Question #175280]: I´m testing an app that appears some "popup´s", how can i do to click on the "ok" button, in that popup? i´m writing in java + sikuli! thanks a lot"
Question #175280 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/175280
RaiMan posted a new comment:
Nearly all examples (the more complex ones) are only available in
Python. But even if you do not know anything about Python language, they
should be readable for a Java programmer and easily adaptable.
things to know about Python
- no explicit variable types
- indentation is used to form code blocks
and one special Sikuli thing: a Sikuli method used without qualification
acts on the default Screen object representing the primary screen. So if
you see something like
find("some-image.png")
in a Sikuli script, this has to be
s.find("some-image.png")
in Java taking your declaration of s in your code above.
In general it is a good idea, to read across the Python API docs:
http://sikuli.org/docx/
and then check the Java API (http://sikuli.org/doc/java-x/) for Java
specific stuff (both API's are on the way getting harmonized finally)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.