How to automate Java applet?

前端 未结 2 1635
没有蜡笔的小新
没有蜡笔的小新 2020-12-18 04:49

I have to create a test script and I am using Selenium, but I am not able to record or edit the rich text editor Ephox. So is there a way to do it with Selenium as I came ac

相关标签:
2条回答
  • 2020-12-18 05:10

    You can't reliably automate an applet using a web testing tool. You need to use a Swing testing tool. There are a few out there, but two I'd recommend are:

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

    and

    http://www.uispec4j.org/

    The second one is also interesting because it allows you to write unit tests for the UI that don't require it being rendered on the screen.

    0 讨论(0)
  • 2020-12-18 05:16

    LiveConnect can help you with that!

    There is even a tool for it and Selenium (though I'm not using it, so I can't tell whether it works well or not): https://web.archive.org/web/20150526204052/http://fest.codehaus.org/Selenium

    Other than that, Robot could possibly be useful, too.

    0 讨论(0)
提交回复
热议问题