如何自动化Java小程序? [英] How to automate Java applet?

查看:35
本文介绍了如何自动化Java小程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须创建一个测试脚本并且我正在使用 Selenium,但是我无法录制或编辑富文本编辑器 Ephox.那么有没有办法用 Selenium 做到这一点,因为我遇到了一篇文章,指出无法使用 Selenium 记录 Java 小程序.另外,如果不是 Selenium,还有其他可以用于此目的的工具吗?

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 across an article stating Java applets cannot be recorded using Selenium. Also if not Selenium any other tools that can be used for this purpose?

这是 Ephox 的链接,供您参考:http://editlive.com/demo

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

推荐答案

LiveConnect 可以提供帮助与你同在!

LiveConnect can help you with that!

甚至有一个工具和Selenium(虽然我没有使用它,所以我不知道它是否有效):https://web.archive.org/web/20150526204052/http://fest.codehaus.org/Selenium

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

除此之外,Robot 也可能有用.

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

这篇关于如何自动化Java小程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆