简体   繁体   English

Jython中的Sikuli与Java中的Sikuli有什么区别?

[英]Sikuli in Jython vs Sikuli in Java, is there any difference?

I currently have some automation written in Sikuli at the Jython layer, but I started to wonder if it was better to do this at the Java level? 我目前在Jython层用Sikuli编写了一些自动化程序,但是我开始怀疑在Java级别上这样做是否更好?

The Scripts are becomming more and more important. 脚本正变得越来越重要。 So I'm wondering if I gain speed or stability if written at the Java layer? 所以我想知道如果在Java层编写,是否可以获得速度或稳定性?

Anyone with experince with this? 有人有这个经验吗?

I'm working on a middle-sized project with sikuli, too and asked myself the same question some time ago. 我也在与sikuli一起进行一个中型项目,不久前又问了我同样的问题。 I think the answer to this question depends on your personal liking and skills. 我认为这个问题的答案取决于您的个人喜好和技能。 I'm really happy with Python because of the great flexibility of the language. 我对Python感到非常满意,因为它具有极大的灵活性。 On the other hand, I now have problems finding a professional IDE for jython. 另一方面,我现在在为jython找到专业IDE方面遇到问题。 There are not many very good solutions for this unfortunately. 不幸的是,没有很多很好的解决方案。

I don't think there are any big speed/stability differences because all the time taking image recognition stuff happens in the libCV module anyway and that is written in C or C++ so this is not dependent as far as I know. 我认为速度/稳定性没有太大的区别,因为所有时间进行图像识别的东西总是发生在libCV模块中,并且都是用C或C ++编写的,因此据我所知这并不依赖。

Hope to have helped you a little and good look with sikuli.. I know it can be a little bitchy sometimes :D 希望能对sikuli有所帮助。.我知道有时候它有点讨厌:D

I'm not a programming expert but in my experience Sikuli's speed in most cases was limited only by the speed of the application or system under test (AUT / SUT) - means in most cases Sikuli had to wait for the application and not vise versa. 我不是编程专家,但根据我的经验,Sikuli的速度在大多数情况下仅受应用程序或被测系统(AUT / SUT)的速度的限制-这意味着在大多数情况下,Sikuli不得不等待应用程序,反之亦然。 Test execution was not slowed down by Sikuli, it was as fast as the application allowed it to be. Sikuli并没有降低测试执行的速度,它的速度与应用程序允许的速度一样快。

A great tool chain to use Sikuli in mid-sized or even big-sized projects is: Sikuli + Robot Framework + IntelliJ IDEA 14 (Community Edition) with Python and Robot Framework plugins. 在中型甚至大型项目中使用Sikuli的出色工具链是:Sikuli + Robot Framework +带有Python和Robot Framework插件的IntelliJ IDEA 14(社区版)。 For an example have a look at this Sikuli-and-Robot-Framework_How-To . 例如,查看此Sikuli-and-Robot-Framework_How-To

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM