通过不同的浏览器使用watir-webdriver进行多个并发浏览器测试 [英] Multiple concurrent browser tests with watir-webdriver through different browsers

查看:78
本文介绍了通过不同的浏览器使用watir-webdriver进行多个并发浏览器测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我正在这里的一个网站上工作,我想一次运行多个浏览器测试。我的意思是,它应该同时对Firefox和chrome进行烟雾测试,并报告每个浏览器结果。我目前仅使用rpsec和watir-webdriver进行测试,但想针对其他2种浏览器进行自动化。是否有现成的宝石(我找不到),如果不是解决该问题的最佳方法是什么?

so I'm working on a website here and I would like to run multiple browser tests at one time. What I mean by this is it should perform my smoke tests on ie, firefox and chrome at the same time and report back each browser results. I'm currently only testing with ie with rpsec and watir-webdriver but would like to automate for the other 2 browsers. Are there any existing gems out there (I haven't been able to find any), if not what would be the best way to go around solving this issue?

推荐答案

您应该尝试 WatirGrid

You should try WatirGrid.

它不会为您完成所有工作,但它将为您提供一个平台,可以一次启动多个测试。您只需启动相同的测试3次即可更改目标浏览器,并且网格将处理它们的执行位置。

It won't make all the work for you but it will give you a platform to launch multiple tests at once. The you can just launch the same test 3 times changing the target browser and the grid will handle where they will be executed.

这篇关于通过不同的浏览器使用watir-webdriver进行多个并发浏览器测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆