Selenium IDE、Server、RC、2.0 和 WebDriver 有什么区别? [英] What is the difference between Selenium IDE, Server, RC, 2.0, and WebDriver?

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

问题描述

Selenium 似乎有很多不同的组件,网站没有很好地解释它们,我仍然有点困惑哪个是哪个.两者有什么区别或目的:

Selenium seems to have a lot of different components and the website does not explain them very well and I'm still a bit confused which is which. What's the difference or purpose between:

硒 IDE硒服务器硒遥控器网络驱动程序硒 2

Selenium IDE Selenium Server Selenium Remote Control WebDriver Selenium 2

我的理解如下:

Selenium IDE 是一个 GUI 插件,用于在 Selenese/HTML 中对测试用例进行快速原型设计.

Selenium IDE is a GUI plugin used for rapid prototyping of test cases in Selenese/HTML.

Selenium Server 是一个独立的 Java 程序,它允许您在各种不同的浏览器中运行 HTML 测试套件,以及报告等额外选项.

Selenium Server is a standalone java program which allows you to run HTML test suites in a range of different browsers, plus extra options like reporting.

Selenium Remote Control 是 Selenium Server 的旧名称,仅支持 Selenium API 版本 1.

Selenium Remote Control is the old name for Selenium Server, which only supports version 1 of the Selenium API.

WebDriver 是实际的核心 API,它具有多种语言的绑定,并允许您编写独立的测试.

WebDriver is the actual core API which has bindings in a range of languages and allows you to write standalone tests.

Selenium 2 是 Selenium 项目的最新版本,包括 IDE、Server 和 WebDriver.

Selenium 2 is the latest version of the Selenium project, and includes the IDE, Server and WebDriver.

推荐答案

你几乎是对的.

  • Selenium IDE 是一款 Firefox 插件,用于在 Selenese/HTML 中进行测试用例的快速原型制作,还可以导出多种编程语言的测试用例.

  • Selenium IDE is a Firefox plugin used for rapid prototyping of test cases in Selenese/HTML, which can also export test cases in a variety of programming languages.

Selenium Server 是一个独立的 Java 程序,它允许您在各种 Web 浏览器上运行以各种编程语言编写的测试用例,并且还可以在各种不同的浏览器中运行 HTML 测试套件,此外报告等额外选项.(我的意思是 selenium-server.jar 的 --htmlsuite 选项不是它的主要功能,很快就会被拆分成一个单独的程序.)

Selenium Server is a standalone java program which allows you to run test cases written in a variety of programming languages with a variety of web browsers, and which can additionally run HTML test suites in a range of different browsers, plus extra options like reporting. (My point is that the --htmlsuite option of selenium-server.jar is not its primary function, and will soon be split out into a separate program.)

Selenium Remote Control 是一个 API,用于在 Selenium 1 和 Selenium 2 中以多种语言编写测试,也是运行该 API 的 Selenium 1 服务器的名称.

Selenium Remote Control is an API for programming tests in a variety of languages in Selenium 1 and Selenium 2, and also the name of the Selenium 1 server that runs the API.

WebDriver 是一个 API,用于在 Selenium 2 中以多种语言编写测试,可以在有或没有服务器的情况下运行.

WebDriver is an API for programming tests in a variety of languages in Selenium 2, which can run with or without a server.

Selenium 2 是 Selenium 项目的最新版本,包括 IDE、服务器以及 Selenium RC 和 WebDriver API.

Selenium 2 is the latest version of the Selenium project, and includes the IDE, Server and both the Selenium RC and WebDriver APIs.

另外:

  • Selenium Grid 是一个在一组 Selenium 服务器上分发测试的服务器.在 Selenium 1 中它是一个单独的服务器,在 Selenium 2 中它被集成到 Selenium 服务器中.

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

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