Selenium,在不同操作系统上的自动化前端测试 [英] Selenium, automated frontend testing on different OS

查看:207
本文介绍了Selenium,在不同操作系统上的自动化前端测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完整的工作环境是基于Linux的(用于台式机和服务器的Ubuntu).我使用Hudson和Selenium在适用于Ubuntu的任何浏览器上对我的EE6/ZK Web应用程序执行测试.

My complete working environment is Linux based (Ubuntu for desktop and server). I use Hudson and Selenium to execute tests on my EE6/ZK web application with any browser available for Ubuntu.

但是,如果不在Windows中设置Selenium服务器,我将如何使用IE(Windows)测试我的应用程序.以为我可以在VMWare或Virtualbox中运行Windows,但仍然需要本地"硒,我将如何触发它?还要安装hudson并几乎在Windows中复制完整的CI? MAC如何?

But how would I test my application with IE (Windows) without setting up a Selenium server in Windows. Thought I could run Windows in a VMWare or Virtualbox, but still it needs a "local" selenium and how would I trigger it ? Install hudson as well and pretty much replicate the complete CI in Windows ? How is MAC ?

跨浏览器平台OS自动化测试的任何技巧或经验吗?

Any tips or experience with cross-browser-platform-OS automated testing ?

斯文

推荐答案

您将需要使用Selenium Grid.有一个适用于Hudson的Selenium插件,该文章给出了指南设置与Hudson和Selenium Grid的持续集成.是的,您将必须在虚拟机中安装Windows.

You will need to use Selenium Grid. There is a Selenium plug-ins for Hudson available, and this article has a guide how to setup Continuous Integration with Hudson and Selenium Grid. And yes, you will have to install Windows in a virtual machine.

这篇关于Selenium,在不同操作系统上的自动化前端测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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