RaiMan / sikulix4python

Use SikuliX from real Python via py4j
MIT License
118 stars 35 forks source link

Tested Py4J feature in the new RF library and it works fine on any OS #5

Open adrian-evo opened 3 years ago

adrian-evo commented 3 years ago

Hi @RaiMan

As you proposed last year in this topic discussion https://github.com/jpype-project/jpype/issues/911, I enabled both Py4J and JPype on my Robot Framework library proposal (https://github.com/adrian-evo/robotframework-sikulixlibrary). From my testing, SikuliX with Java bridge works fine now also on MacOS with Py4J, and on Windows and Linux with both Py4J and Jython.

I think I didn't used any sikulix4python experimental features you described in your project but I guess I used just your enabled Py4J server and standard Java features. Hopefully this approach will work also in the future SikuliX releases.

However what I noticed might not work yet is some get features, e.g. ImagePath.get(), and the known App open issue with Ubuntu. Also tested the library extensively in Windows project for several hours and didn't encountered any relevant issue.

RaiMan commented 3 years ago

Thanks for the information.

I will have a look at it during the next 2 - 3 weeks.

... and I will now finally remove all the experimental RFW stuff from SikuliX and point to your project instead wherever it makes sense.

Hopefully this approach will work also in the future SikuliX releases.

... I will do my very best, after having understood, what your project needs ;-)

Hopefully somewhen during the next 2 weeks I will start again with nightly builds of the follow-up of 2.0.5, so you can have a watch on it.

All the best.