Sikuli IDE or Sikuli with other IDEs?

Asked by Rares Pasca on 2018-11-29

Hello,

I want to automate a desktop app with sikuli. However I'm trying to figure out the best setup/approach for this in my. I've played around a bit with sikuli built in IDE and I find it easy and simpe to use. But I'm imagining that since is somehow limited, long term as our tests will increase in complexity this might not be the best solution. I'm thinking to try out eclipse with sikuli-api and java as programming language since I've some experience in it ( for sikuli ide I used python but don't like it, and Java seems more comfortable for me). Are there limitations or big differences between these 2 approaches? In the end my setup should look something like this:
                                         - environment for my tests( either Sikuli IDE with python, either Eclipse, sikuli-api and java)+testReport and some logge maybe
                                         - Jenkins integration in order to run them on windows 7 and 10 VMs
                                         - git version control

I need sikuli beacuase we can only test this app by comparing images. I'm not sure wich approach would be the best in this? What do you think?
Thank you!

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-11-29
Last reply:
2018-11-29
RaiMan (raimund-hocke) said : #1

based on your arguments and your preferences:
Java (preferable as Maven project) in Eclipse

I use IntelliJ IDEA for development and testing of SikuliX.

You need a concept for naming and storing your images (see ImagePath feature).

You can still use the SikuliX IDE in parallel to take screenshots.
You might save an image-set to a .sikuli and add it to the image path.

SikuliX IDE has a nice gimmick:
add a line as
someImage =
put the cursor behind the = and click the shot button
then you will have
someImage = <image-thumbnail>
and the image will be named automatically as "someImage.png"
So you see both at a glance: the name and the thumbnail.

... and of course you can use the SikuliX IDE to make quick and dirty evaluations of features and snippets.

new feature: run only one or more lines of a script (right mouse on line number)

Hope it helps.

Can you help with this problem?

Provide an answer of your own, or ask Rares Pasca for more information if necessary.

To post a message you must log in.