Selenium远程控制和Selenium Server有什么区别? [英] What is the difference between Selenium Remote Control and Selenium Server?

查看:877
本文介绍了Selenium远程控制和Selenium Server有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

硒下载页面上,有一个指向 Selenium RC 的链接. (远程控制).

On Selenium download page, there is a link to the Selenium RC (Remote Control).

另一个Selenium下载页面上,有 Selenium RC 1.0.3 以及 Selenium 2 Server ,有时也称为 Selenium 2 Standalone Server .

On another Selenium download page, there are links for a Selenium RC 1.0.3, as well as Selenium 2 Server, sometimes also called Selenium 2 Standalone Server.

它们之间有什么区别?

如果有限制,那么每个限制是什么?

If there are limitations, what are the limitations of each one?

Selenium服务器是否代替了遥控器?

Is the Selenium Server replacing the Remote Control?

相关问题:硒遥控器与WebDriver

推荐答案

您应该看一下

You should take a look at the documentation outlining the different parts of Selenium. That's a good place to start as it guides you through the process of getting setup. Full disclosure, I help write the docs.

对于这些下载,您拥有的第一个链接是该项目的正式版本.第二个链接是当前的beta版本,一旦它们达到2.0,它们就会出现在网站上.

As for those downloads, the first link you have is the official releases for the project. The second link is the current beta builds, once they hit 2.0 they'll be on the site.

  • Selenium Core -比独立项目更多地是硒的组成部分.不用考虑项目历史,Selenium曾经只是使浏览器自动化的.js文件的集合.没有人直接使用这些,只是出于遗留原因而存在.
  • Selenium IDE -用于录制/播放的firefox插件.您可能想从此开始,以习惯于api,但是很快就会长大了.
  • Selenium RC ,当您不再使用它时,将使用Selenium Remote Control. Selenium 1.x是一种客户端-服务器体系结构.您使用RC库对与服务器通信的测试进行编程,然后服务器将这些命令中继到浏览器.
  • Selenium Grid -一种在分布式计算机网络上运行Selenium测试的方法.在进行了大量测试后,可以加快处理速度.
  • 三次测试-一种基于月食的工具,利用硒进行测试.不知道它有多受欢迎.
  • -基于Web的脚本和测试管理工具.使用硒RC进行测试.
  • Selenium Core - more a component of selenium than a stand alone project. Without going into the project history, Selenium was once just a collection of .js files that automated a browser. No one uses these directly, they're just there for legacy reasons.
  • Selenium IDE - a firefox plugin for record/playback. You may want to start with this, to get used to the api, but you'll outgrow it soon
  • Selenium RC and when you do outgrow it, you'll use Selenium Remote Control. Selenium 1.x is a client-server architecture. You use the RC libraries to program tests that communicate with the server, and the server relays those commands to a browser.
  • Selenium Grid - a way to run Selenium testing on a distributed network of computers. Good for speeding things up once you've got a lot of tests.
  • Cubic Test - An eclipse-based tool that leverages selenium for testing. Not sure how popular it is.
  • Bromine - a web based script and test management tool. Uses selenium RC to run tests.

然后我们进入 Selenium 2 beta . Selenium 2与Selenium 1模型有很大的不同,因为它不需要一个Selenium服务器.我说'require '是因为可以选择在另一台计算机上远程运行测试. Selenium Server Standalone是用于此目的的服务器.它与Selenium-RC以及用于远程目的的Selenium 2兼容.

Then we get to the Selenium 2 beta. Selenium 2 is a major departure from the Selenium 1 model because it doesn't require a Selenium server. I say 'require' because it's optional to run the tests remotely on another computer. Selenium Server Standalone is the server you'd use for this. It's compatible with Selenium-RC as well as Selenium 2 for remote purposes.

您可能已经看到Selenium 2被称为WebDriver. WebDriver是几年前合并的另一个项目,并成为Selenium 2的基础.这就是Selenium 2具有WebDriver接口(有时也称为"WebDriver" api)以区别于Selenium-RC的原因.

You may have seen Selenium 2 referred to as WebDriver. WebDriver was another project that was merged a couple years ago and became the basis for Selenium 2. That's why Selenium 2 has a WebDriver interface, sometimes called the "WebDriver" api to distinguish from Selenium-RC.

如果您只是刚入门,我将看一下Selenium2.它现在获得99.9%的开发人员的青睐,并且Selenium 1.x api不会继续前进.自2011年1月起,对Java库的支持得到了最好的支持,紧随其后的是.Net和Python/Ruby.如果需要其他api选项,Watir(流行的Ruby浏览器自动化库)在后台使用硒.

If you're just starting out, I'd take a look at Selenium 2. It's getting 99.9% of the developer love right now, and the Selenium 1.x apis won't be advancing any further. As of January 2011 the Java libraries are the best supported, followed closely by .Net and Python/Ruby. Watir (the popular Ruby browser automation library) uses selenium under the hood if you want another api option.

这篇关于Selenium远程控制和Selenium Server有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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