selenium 工具套件

Selenium’s Tool Suite
Selenium is composed of multiple software tools. Each has a specific role.
1.Selenium 2 (aka. Selenium Webdriver)
Selenium 2 is the future direction of the project and the newest addition to the Selenium toolkit. This brand new
automation tool provides all sorts of awesome features,including a more cohesive and object oriented API as well as
an answer to the limitations of the old implementation.As you can read in Brief History of The Selenium Project, both
the Selenium and WebDriver developers agreed that both tools have advantages and that merging the two projects
would make a much more robust automation tool.Selenium 2.0 is the product of that effort. It supports the
WebDriver API and underlying technology, along with the Selenium 1 technology underneath the WebDriver API for
maximum flexibility in porting your tests. In addition,Selenium 2 still runs Selenium 1’s Selenium RC interface for
backwards compatibility.

2.Selenium 1 (aka. Selenium RC or Remote Control)
As you can read in Brief History of The Selenium Project,Selenium RC was the main Selenium project for a long time,
before the WebDriver/Selenium merge brought up Selenium 2, the newest and more powerful tool.
Introduction — Selenium Documentation Page 3 of 8 http://seleniumhq.org/docs/01_introducing_selenium.html 2011-8-31
Selenium 1 is still actively supported (mostly in maintenance mode) and provides some features that may not be available
in Selenium 2 for a while, including support for several languages (Java, Javascript, PRuby, HP, Python, Perl and C#)
and support for almost every browser out there.

3.Selenium IDE
Selenium IDE (Integrated Development Environment) is a prototyping tool for building test scripts. It is a Firefox plugin
and provides an easy-to-use interface for developing automated tests. Selenium IDE has a recording feature,
which records user actions as they are performed and then exports them as a reusable script in one of many
programming languages that can be later executed. Note Even though Selenium IDE has a “Save” feature that allows
users to keep the tests in a table-based format for later import and execution, it is not designed to run your test
passes nor is it designed to build all the automated tests you will need. Specifically, Selenium IDE doesn’t provide iteration
or conditional statements for test scripts. At the time of writing there is no plan to add such thing. The reasons are
partly technical and partly based on the Selenium developers encouraging best practices in test automation which always
requires some amount of programming. Selenium IDE is simply intended as a rapid prototyping tool. The
Selenium developers recommend for serious, robust test automation either Selenium 2 or Selenium 1 to be used with
one of the many supported programming languages.

4.Selenium-Grid
Selenium-Grid allows the Selenium RC solution to scale for large test suites and for test suites that must be run in
multiple environments. Selenium Grid allows you to run your tests in parallel, that is, different tests can be run at the
same time on different remote machines. This has two advantages. First, if you have a large test suite, or a slowrunning
test suite, you can boost its performance substantially by using Selenium Grid to divide your test suite
to run different tests at the same time using those different machines. Also, if you must run your test suite on multiple
environments you can have different remote machines supporting and running your tests in them at the same time.
In each case Selenium Grid greatly improves the time it takes to run your suite by making use of parallel processing.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值