创建测试中心,以便用户可以触发和观看 Selenium RC 测试的运行
如果这是一个有点菜鸟的问题,我深表歉意。
我在服务器和测试中心应用程序上设置了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我个人不会担心在个人电脑上运行测试,而是选择在运行时录制测试视频,以便测试完成后人们可以查看视频。
我会设置一个 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