selenium - 如何使用 Selenium Server 运行 Selenium IDE 测试

标签 selenium selenium-webdriver automated-tests selenium-ide

我有几个用于运行测试的 selenium ide 保存文件。为了能够通过 IE 运行这些测试,我安装了带有 iedriverserver 的 selenium 服务器。

我已经创建了一个 session ,但我只能加载 webdriverjs 脚本。有没有一种简单的方法可以将 selenium ide 脚本转换为可以由 selenium 服务器运行的格式?

是否有另一种/更简单的方法来为 IE 运行 selenium ide 测试?谢谢。

最佳答案

IDE生成的文件可以用服务器运行。

java -jar "[path to the Selenium server .jar file]" -htmlSuite "*[browser, see the list here]" "[URL that the browser will navigate to at startup]" "[path to your HTML test suite file made in the IDE]" "[path to the HTML results file that the server will write]"

This page talks about this process for further reading .

关于selenium - 如何使用 Selenium Server 运行 Selenium IDE 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27511912/

相关文章:

android - Ubuntu 上的 Appium 更新

java - 使用我的 Selenium 代码在我的网站的表格中搜索文本

java - TestNG 中的非静态驱动程序和屏幕截图监听器

java - 当我在步骤 def 方法中使用 Cucumber(场景场景)参数时,显示使用 1 个参数声明的错误。小 cucumber 步骤有 0 个参数

javascript - setFilesToUpload 操作对我不起作用

android - iOS 和 Android 设备的自动验收测试

java - 基础 ClearCase 失败。退出代码=1。 IOException : cleartool did not return the expected exit code

c# - Browsermob 代理 - HAR 文件不如手动 HAR 完整?

java - Reporter.log() 打印 html 链接

python - 单击 pyqt 按钮后立即停止加载页面 selenium