我有几个用于运行测试的 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]"
关于selenium - 如何使用 Selenium Server 运行 Selenium IDE 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27511912/