Selenium IDE - results.html

发布于 2024-10-03 20:32:42 字数 81 浏览 0 评论 0原文

如何报告我在 selenium-ide 上的测试用例结果。我不想使用 selenium-rc。我应该使用什么命令来获取 results.html ?

How report my test case results on selenium-ide. I don't want use selenium-rc. What command I should use to get results.html ?

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

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

发布评论

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

评论(2

余厌 2024-10-10 20:32:42

您可以使用文件记录插件。借助此插件,您可以存储测试用例的结果

you can use File Logging add-on..With the help of this you can store result of your test case

時窥 2024-10-10 20:32:42

使用此命令,您将获得 Selenium IDE 中 html 套件执行情况的报告

java -jar selenium-server.jar -htmlSuite "*chrome" http://www.example.com 
./testsuite.html results.html

以下是参数:

  • selenium-server.jar - Selenium 服务器路径
  • -htmlSuite "*chrome" - 用于测试的浏览器,Firefox 是 "*firefox"
  • http://www.example.com - 测试的基本 URL
  • ./testsuite.html - html 测试套件path
  • results.html - 存储results.html的路径

Use this command, you will get a report for your html suite execution in Selenium IDE

java -jar selenium-server.jar -htmlSuite "*chrome" http://www.example.com 
./testsuite.html results.html

Here are the argument:

  • selenium-server.jar - Selenium server path
  • -htmlSuite "*chrome" - Browser used for the test, Firefox is "*firefox"
  • http://www.example.com - base URL of your test
  • ./testsuite.html - html test suite path
  • results.html - path for storing results.html
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文