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

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

问题描述

我必须创建一个测试脚本并且我正在使用 Selenium,但我无法记录或编辑富文本编辑器 Ephox.那么有没有办法用 Selenium 做到这一点,因为我看到一篇文章指出 Java 小程序不能使用 Selenium 记录.如果不是 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

除此之外,机器人 也可能有用.

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

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

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