创建测试中心,以便用户可以触发和观看 Selenium RC 测试的运行

发布于 2024-09-26 19:10:21 字数 207 浏览 0 评论 0原文

如果这是一个有点菜鸟的问题,我深表歉意。

我在服务器和测试中心应用程序上设置了 Selenium RC。 当用户选择从测试中心运行测试时,测试将在哪些浏览器上运行。那些在服务器上还是在用户计算机上?

基本上,我希望我的测试中心应用程序有两个目的,一是用户触发并观看要运行的测试,二是可以访问底层测试,以便构建服务器可以使用 Cruise Control 自动运行它们。

Appologies if this is a bit of a noob queston.

I have Selenium RC setup on a server and a test hub application.
When a user selects to run a test from the test hub, which browsers will the test be run on. Those on the server or those on the users machine?

Basically I want my test hub app to serve 2 purposes, for a user to trigger and watch a test to be run and 2ndly for the underlying tests to be accessible so they can be run automatically by the build server using Cruise Control.

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

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

发布评论

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

评论(1

樱花落人离去 2024-10-03 19:10:21

我个人不会担心在个人电脑上运行测试,而是选择在运行时录制测试视频,以便测试完成后人们可以查看视频。

我会设置一个 Selenium 网格,当您触发测试时,它会将测试推送到网格,然后记录它们。我在五月份发表了一篇博客文章,描述了如何在 Linux 上设置视频录制。

如果您没有时间或硬件来设置这一切,您可以随时触发在 Sauce Labs 上运行的测试,并且他们会自动为您录制视频,以便人们可以看到它们

I personally wouldnt worry about running the tests on the persons PC and go for the option of video recording the tests while they run so that the person can have a look at the video once the test is complete.

I would set up a Selenium Grid that when you trigger a test it will then push the test to the grid and then record them. I did a blog post in May that describes how to set up video recording on Linux.

If you don't have the time or hardware to set this all up you can always trigger the tests to run on Sauce Labs and they will record the video for you automatically so that people can see them

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