Java集成測試工具 Selenium 2.8 發布,
Selenium 2.8 發布了,該版本包含大量、非常大量的bug修復列表。
Selenium (SeleniumHQ) 是 thoughtworks公司的一個集成測試的強大工具。
一、Selenium 的版本
Selenium 現在存在2個版本,一個叫 selenium-core, 一個叫selenium-rc 。
selenium-core 是使用HTML的方式來編寫測試腳本,你也可以使用 Selenium-IDE來錄制腳本,但是目前Selenium-IDE只有 FireFox 版本。
Selenium-RC 是 selenium-remote control 縮寫,是使用具體的語言來編寫測試類。
selenium-rc 支持的語言非常多,這里我們著重關注java的方式。這里講的也主要是 selenium-rc,因為個人還是喜歡這種方式.
項目地址:http://seleniumhq.org/
下圖是Selenium IDE的運行界面截圖:
Downloads
Below is where you can find the latest releases of all the Selenium components. You can also find a list previous releases, latest releases, source code, and additional information for Maven users (Maven is a popular Java build tool).
Selenium IDE
Selenium IDE is the a Firefox plugin that does record-and-playback of interactions with the browser. Use this to either create simple scripts, assist in exploratory testing. It can also export Remote Control or WebDriver scripts, though they tend to be somewhat brittle and should be overhauled into some sort of Page Object-y structure for any kind of resiliency.
Download version 1.3.0 released on 27/September/2011 or view the Release Notes
Selenium Server (formerly the Selenium RC Server)
The Selenium Server is needed in order to run either Selenium RC style scripts or Remote Selenium Webdriver ones. The 2.x server is a drop-in replacement for the old Selenium RC server and is designed to be backwards compatible with your existing infrastructure.
Download version 2.8.0
Selenium Client Drivers
In order to create scripts that interact with the Selenium Server (Selenium RC, Selenium Remote Webdriver) or create local Selenium WebDriver script you need to make use of language-specific client drivers. Unless otherwise specified, drivers include both 1.x and 2.x style drivers.
While drivers for other languages exist, these are the core ones that are supported by the main project.
Language | Client Version | Release Date | |||
---|---|---|---|---|---|
Java | 2.8.0 | 2011-10-06 | Download | Change log | JavaDoc |
C# | 2.8.0 | 2011-10-06 | Download | Change log | API docs |
Ruby | 2.8.0 | 2011-10-06 | Download | Change log | API docs |
Python | 2.8.1 | 2011-10-06 | Download | Change log |
C# NuGet
NuGet lastest release is 2.8.0, Released on 2011-10-06
Mobile Devices
- Android 2.6.0 wiki
- iOS wiki
Third Party Browser Drivers NOT SUPPORTED/DEVELOPED by seleniumhq
Browser | |||||
---|---|---|---|---|---|
Chrome | download page | issue tracker | selenium wiki page | ||
Opera | 0.7.3 | change log | issue tracker | selenium wiki page | Released 2011-09-19 |
Third Party Language Bindings NOT SUPPORTED/DEVELOPED by seleniumhq
- Perl download and docs by Gordon Child
- PHP by Chibimagic (real name unknown?)
- PHP by Lukasz Kolczynski
- PHP by 非死book
Selenium Grid
Scripts running too slow or want to run them against multiple browser types and versions? Either download the latest version of Selenium Server (from above) or download the old version of Selenium Grid. Both can help distribute script execution for either parallelization or browser variation.
Download version 1.0.8 or view the ChangeLog
Selenium IDE Plugins
Selenium IDE can be extended through its own plugin system. Here are a number of plugins that have been created using it. For more information on how to create your own plugin or have it listed, see the plugin tutorial page.
Please note that these are not supported by the Selenium project and all issues need to be raised with the relevant developers
Links: | Download - Support |
---|---|
Author: | Manuel Bernhardt |
License: | Apache 2 |
Released: | June 28, 2011 |
---|---|
Version: | 1.3 |
A plugin for Selenium-IDE that adds support for the simplified markup used by the Play! framework.
Links: | Download - Support |
---|---|
Author: | Samit Badle |
License: | Unknown/Free |
Released: | August 3, 2010 |
---|---|
Version: | 1.2 |
This plugin for Selenium-IDE highlights elements specified in the Selenese commands on the web page as the test case is executed. Once this plugin is installed, a Highlight elements button will be available on the Selenium-IDE main window and Sidebar. More info.
Links: | Download - Support |
---|---|
Author: | Samit Badle |
License: | Unknown/Free |
Released: | January 13, 2011 |
---|---|
Version: | 1.5 |
A plugin for Selenium-IDE to convert one or more test suites, including their test cases, from the html format to any other format supported by the Selenium-IDE. More info.
Links: | Download - Support |
---|---|
Author: | Samit Badle |
License: | Unknown/Free |
Released: | May 3, 2011 |
---|---|
Version: | 0.2 |
This plugin is my attempt to bring the wonderful world of inspections, tips, hints, fixes and refactoring to Selenese! The Selenium Expert goes through your selenium test cases suggesting improvements, giving tips and even lets you apply them with a single click. Recently, Selenium IDE has brought a some improvements that will break some test scripts. The good news is that most of the essential breaking changes introduced in Selenium IDE 1.0.10 have been incorporated into the Selenium Expert. This should make your migration task a few clicks affair. More info.
Links: | Download - Support |
---|---|
Author: | Samit Badle |
License: | Unknown/Free |
Released: | November 15, 2010 |
---|---|
Version: | 1.0 |
This plugin for Selenium-IDE improves debugging and troubleshooting issues with scripts. This plugin adds the pause on fail tool to the Selenium IDE toolbar. When pause on fail is turned on, Selenium IDE would pause the execution of the test case when there is an error or a command failure, allowing you to troubleshoot the problem. More info.
Links: | Download - Support |
---|---|
Author: | Adam Christian |
License: | Apache 2 |
Released: | August 28, 2010 |
---|---|
Version: | 0.8.0 |
A Selenium IDE plugin for integrating with Flex-Pilot, for Flex automation. More info.
Links: | Download - Support |
---|---|
Author: | Samit Badle |
License: | Unknown/Free |
Released: | August 18, 2010 |
---|---|
Version: | 1.7 |
This plugin for Selenium-IDE saves log messages to a file in real time at a user selectable log level. Once this plugin is installed, a FileLogging tab will be added to the options dialog and a FileLogging menu will be added to the log pane. More info.
Links: | Download - Support |
---|---|
Author: | Samit Badle |
License: | Unknown/Free |
Released: | August 2, 2010 |
---|---|
Version: | 1.1 |
A plugin for Selenium-IDE to show a find toolbar in the log pane making it easy to search the displayed log messages. Once this plugin is installed, the log pane will be changed to contain the find toolbar similar to the one found in the Firefox browser. More info.
Links: | Download - Support |
---|---|
Author: | Samit Badle |
License: | Unknown/Free |
Released: | September 28, 2010 |
---|---|
Version: | 1.3 |
A plugin for Selenium-IDE to view the stored variables within Selenium IDE. Stored variables are created using the store, storeText, storeExpression and other similar store* commands. This plugin allows you to view these variables when the test is running. More info.
Links: | Download - Support |
---|---|
Author: | Robert Fletcher |
License: | Unknown/Free |
Released: | June 15, 2010 |
---|---|
Version: | 1.0 |
Adds Grails Formatters. More info.
Links: | Download - Support |
---|---|
Author: | Gorrila Logic |
License: | GPL |
Released: | January 6, 2011 |
---|---|
Version: | 4.1.5 |
A plugin that adds Adobe Flex recording and playback to Selenium via the popular FlexMonkey open source testing framework. With FlexMonkium, Flex recording and playback is seamlessly interleaved with native Selenium recording and playback so you can easily automate the testing of hybrid web applications that mix html and Javascript with Flex. In addition to creating and running Flex tests inside the Selenium IDE, you can export your hybrid testing scripts as JUnit 4 tests that run with Selenium-RC to easily enable automated testing and continuous integration.
Released: | February 24, 2010 |
---|---|
Version: | 1.0.3 |
Incorporates the flow control extension available here and here.
Released: | July 7, 2011 |
---|---|
Version: | 1.0.4 |
Adds WebDriver backed Selenium formatters, which allows users to take advantage of WebDriver without having to modify their tests to use the new API.