Selenium IDE、Server、RC、2.0 和 WebDriver 之间有什么区别?
Selenium 似乎有很多不同的组件,并且该网站没有很好地解释它们,我仍然有点困惑哪个是哪个。 之间的区别或用途是什么
Selenium IDE 硒服务器 硒远程控制 网络驱动程序 Selenium 2
我的理解如下:
Selenium IDE是一个GUI插件,用于Selenese/HTML中测试用例的快速原型设计。
Selenium Server 是一个独立的 java 程序,它允许您在一系列不同的浏览器中运行 HTML 测试套件,以及报告等额外选项。
Selenium Remote Control 是 Selenium Server 的旧名称,仅支持 Selenium API 版本 1。
WebDriver 是实际的核心 API,它具有多种语言的绑定,并允许您编写独立的测试。
Selenium 2是Selenium项目的最新版本,包括IDE、服务器和WebDriver。
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:
Selenium IDE
Selenium Server
Selenium Remote Control
WebDriver
Selenium 2
My understanding is as follows:
Selenium IDE is a GUI plugin used for rapid prototyping of test cases in Selenese/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 is the old name for Selenium Server, which only supports version 1 of the Selenium API.
WebDriver is the actual core API which has bindings in a range of languages and allows you to write standalone tests.
Selenium 2 is the latest version of the Selenium project, and includes the IDE, Server and WebDriver.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你几乎是对的。
Selenium IDE 是一个用于 Selenese/HTML 测试用例快速原型设计的 Firefox 插件,它还可以导出多种编程语言的测试用例。
Selenium Server 是一个独立的 java 程序,它允许您使用各种 Web 浏览器运行以各种编程语言编写的测试用例,并且还可以在各种不同的浏览器中运行 HTML 测试套件,以及额外的选项,例如报告。 (我的观点是,selenium-server.jar 的 --htmlsuite 选项不是它的主要功能,很快就会被拆分成一个单独的程序。)
Selenium Remote Control 是一个用于在各种情况下进行编程测试的 API Selenium 1 和 Selenium 2 中的语言,以及运行该 API 的 Selenium 1 服务器的名称。
WebDriver 是 Selenium 2 中用于多种语言编程测试的 API,它可以在有服务器或无服务器的情况下运行。
Selenium 2 是 Selenium 项目的最新版本,包括 IDE、服务器以及 Selenium RC 和 WebDriver API。
另外:
You're almost right.
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 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 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 is an API for programming tests in a variety of languages in Selenium 2, which can run with or without a server.
Selenium 2 is the latest version of the Selenium project, and includes the IDE, Server and both the Selenium RC and WebDriver APIs.
In addition:
接受的答案很好,但从那时起,更好的解释就发布在互联网上:
Accepted answer is good, but since then better explanation were posted on internet: