How to automate a Java applet?

I need to create a test script, and I use Selenium, but I cannot write or edit the rich text editor Ephox. So, is there a way to do this with Selenium when I came across an article which claimed that Java applets cannot be written using Selenium. Also if not Selenium any other tools that can be used for this purpose?

Here is the link for Ephox for your reference: http://editlive.com/demo

+6
source share
2 answers

LiveConnect can help you with this!

There is even a tool for him and Selenium (although I don’t use it, so I can’t say whether it works well or not): https://web.archive.org/web/20150526204052/http://fest.codehaus. org / selenium

In addition, Robot may also be useful.

+7
source

You cannot reliably automate an applet using a web testing tool. You need to use the Swing testing tool. There are a few but two that I would recommend:

http://code.google.com/p/fest/

and

http://www.uispec4j.org/

The second is also interesting in that it allows you to write unit tests for the user interface, which do not require display on the screen.

+5
source

Source: https://habr.com/ru/post/916734/


All Articles