How to automate Java applet?

前端 未结 2 1638
没有蜡笔的小新
没有蜡笔的小新 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.

提交回复
热议问题