robotframework-SikuliLibrary or SikuliXRobotLibrary

Asked by Rajesh Taneja on 2018-04-27

We are currently using robot framework for testing our core services. So I was looking for options to execute SikuliX using robot framework.
There are 2 main approaches I have encountered:
1. https://github.com/rainmanwy/robotframework-SikuliLibrary#readme
2. https://github.com/jaredfin/SikuliXRobotLibrary

Our application is mostly in C++, Python and .net, so I am confused as to which one should I go with.

From my limited knowledge here are pros and cons of each:
1. Going with first approach looks nice as it's faster then Jython and very well abstracted. -ve is we have to maintain another package which is in Java and also it has limited keyword exposed, so we might have to add more keywords to search within app region and all.
2. Positive of using SikuliXRobotLibrary is that we have lot of keywords off the shelve and very well exposed sikuli library. -ve is it is Jython based and it's slow.

What do you think, which approach is better and why?

Question information

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

looks like you are better with 2., since you can use the Python language to add/modify keywords.

you say: -ve is it is Jython based and it's slow.
... what exactly does "slow" mean?

Rajesh Taneja (rajesh-taneja) said : #2

Thanks for the quick reply RaiMan.

I have created a simple test case which is to open application by typing in windows search, wait for application to open and close.
With 1st approach time taken is 10 sec. While with jython it took 34 sec.

As automation tests are time consuming, My concern is with jython we might end up running less test over night.

Rajesh Taneja (rajesh-taneja) said : #3

In addition to above, how sustainable it would be to use jython with C# ?

Can you help with this problem?

Provide an answer of your own, or ask Rajesh Taneja for more information if necessary.

To post a message you must log in.