有没有好的基于 IE 的 Selenium IDE?

发布于 2024-07-23 08:19:08 字数 1542 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

逐鹿 2024-07-30 08:19:08

Selenium 没有适用于 Internet Explorer(任何版本)的 IDE。 我也没有看到任何正在开发的东西。 您可以查看他们的论坛/站点 进行更新,但我认为他们的主要关注点是用于 IDE 的 FireFox。

Selenium 可以使用 SeleniumRC 在 Internet Explorer(包括 IE6)中运行测试。 您可以使用 FireFox 中的 IDE 记录测试(或使用任何支持的语言编写测试),然后使用 SeleniumRC 启动 IE 并运行测试。

对于类似于 Selenium 在 FireFox 中提供的 Internet Explorer IDE,请查看 WatiN

Selenium does not have an IDE for Internet Explorer (any version). I haven't seen any under development either. You can check their boards/site for updates but I their primary focus is FireFox for the IDE.

Selenium can run tests in Internet Explorer (including IE6) using the SeleniumRC. You can record tests with the IDE in FireFox (or write tests in whatever language they support) and then use SeleniumRC to launch IE and run the tests.

For Internet Explorer IDEs similar to what Selenium gives in FireFox, check out WatiN

巡山小妖精 2024-07-30 08:19:08

虽然不是 Selenium 记录器,但它是一个实用程序,有助于编写以下代码:使用 Selenium 驱动仅在 IE 中运行的 Web 应用程序或网站。

该实用程序将帮助检索 Selenium API 中使用的定位器字符串来引用 DOM 中的元素。

While not a Selenium recorder, this is a utility that will help in writing code that uses Selenium to drive a web application or web site that only works in IE.

The utility will help retrieve the locator strings that are used in the Selenium APIs to refer to elements in the DOM.

蓝眸 2024-07-30 08:19:08

我知道这是一篇旧文章,但是有一个名为 testmaker 的产品可以完全满足您的需求。 该公司被收购,看起来新产品不再免费,但在其网站上仍然有免费社区版 testmaker 的链接

http://www.pushtotest.com/testmaker-6-community-download

I know this is an old post, but there is a product called testmaker which does exactly what you are looking for. The company was purchased, and it looks like there new products are no longer free, but there are still links to the free community edition of testmaker on their site

http://www.pushtotest.com/testmaker-6-community-download

老娘不死你永远是小三 2024-07-30 08:19:08

我知道这已经过时了,但我想添加另一种解决方案,我在 Selenium IRC 上说过这一点,但没有人知道这是可能的。 不管怎样,还有另一种使用旧的 FF IDE(2.9.1) 在 IE 上实现自动化的方法,这就是我目前在 IE8 上实现自动化的方法。 先决条件:

-FF 54 或更旧

-Selenium IDE 2.9.1

-selenium-server-standalone-2.53.1.jar

-IEDriverServer

在 windows cmd 上使用以下命令启动 selenium 服务器(按 windows 键+R 并写入 cmd):

java -jar c:\selenium\selenium-server-standalone-2.53.1.jar -Dwebdriver.ie.driver=IEDriverServer.exe

在此示例中,我的文件位于 c:\selenium 中,因此请根据您拥有文件的位置进行调整。 服务器启动后,打开FF IDE,转到选项,在最后一个选项卡“WebDriver”中,标记选项“启用WebDriver Playback”,然后在下面的字段中,删除所有文本(如果其中有任何文本)并写入:

internet explorer

保存更改。 现在您可以在 IE 中运行测试。 请注意,您无法在 IE 上以这种方式记录或执行脚本的单个命令,这只允许您在 IE 上运行脚本。 你可以在 FF 上录制它们,然后在 IE 上运行它们。

I know this is old, but i would like to add another solution, i said this on the Selenium IRC and no one knew it was possible. Anyway, there's another way of automating on IE using the old FF IDE(2.9.1), and that's how I'm currently automating on IE8. Prerequisites:

-FF 54 or older

-Selenium IDE 2.9.1

-selenium-server-standalone-2.53.1.jar

-IEDriverServer

Start the selenium server with the following command on the windows cmd(press windows key+R and write cmd):

java -jar c:\selenium\selenium-server-standalone-2.53.1.jar -Dwebdriver.ie.driver=IEDriverServer.exe

In this example, my files where in c:\selenium, so adapt to it to where you have the files. Once the server is up, open the FF IDE, go to the options, in the last tab "WebDriver", mark the option "Enable WebDriver Playback", and in the field bellow, delete all if there's any text in it and write:

internet explorer

Save the changes. Now you can run your tests in the IE. Note that you can't record or execute single commands of your scripts this way on IE, this only allows you to run your scripts on IE. You can record them on FF and them run it on IE.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文