Selenium (software)
From Wikipedia, the free encyclopedia
| This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (March 2008) |
|
Screenshot
Demonstration of the Selenium |
|
| Stable release | 1.0b2 / 2009-05-28 |
|---|---|
| Operating system | Cross-platform |
| Development status | Active |
| Type | software testing framework for web applications |
| License | Apache License 2.0 |
| Website | http://selenium.openqa.org/ |
Selenium is a portable software testing framework for web applications. Selenium provides a record/playback tool for authoring tests without learning a test scripting language. Selenium provides a test domain specific language (DSL) to write tests in a number of popular programming languages, including Java, Ruby, Groovy, Python, PHP, and Perl. Test playback is in most modern web browsers. Selenium deploys to Windows, Linux, and Macintosh platforms.
Selenium was developed by a team of programmers and testers at ThoughtWorks. It is open source software, released under the Apache 2.0 license and can be downloaded and used without charge. The latest side project is Selenium Grid, which provides a hub allowing the running of multiple Selenium tests concurrently on any number of local or remote systems, thus minimizing test execution time.
Contents |
[edit] Selenium IDE
Selenium IDE is a complete Integrated Development Environment (IDE) for Selenium tests (previously known as Selenium Recorder). It is implemented as a Firefox extension, and allows recording, editing, and debugging tests.
Scripts may be automatically recorded and edited manually providing autocompletion support and the ability to move commands around quickly.
Features:
-
- Record and playback
- Intelligent field selection will use IDs, names, or XPath as needed
- Autocomplete for all common Selenium commands
- Walk through tests
- Debug and set breakpoints
- Save tests as HTML, Ruby scripts, or other formats
- Support for Selenium user-extensions.js file
- Option to automatically assert the title of every page
- Record and playback
[edit] Selenium Remote Control
Selenium Remote Control (RC) is a server, written in Java, that accepts commands for the browser via HTTP. RC makes it possible to write automated tests for a web application in any programming language, which allows for better integration of Selenium in existing unit test frameworks. To make writing tests easier, Selenium project currently provides client drivers for Python, Ruby, .NET, Perl, Java, and PHP. The Java driver can also be used with JavaScript (via the Rhino engine).
[edit] See also
- Acceptance testing (also referred to as functional testing)
- Performance engineering
- Performance testing
- Regression testing
- iMacros Web Testing Firefox Add-On - supports testing Flex, Flash and Silverlight applications.
- Watir
- Testing Flex and Flash applications with Selenium
- HtmlUnit
- StoryTestIQ (STIQ) a mash-up of Selenium and the Fitness wiki
[edit] References
- Selenium home page
- PushToTest resource guide for Selenium load testing and service monitoring
- BrowserMob low-cost Selenium load testing
- SauceLabs provides a farm of Selenium RC servers for testing
[edit] External links
- Selenium
- Selenium IDE (developers homepage)
- Selenium IDE (from Mozilla Add-ons Library)
- Selenium Remote Control
- Selenium Grid
- Selenium Google group
- MediaWiki Selenium extension
- Sauce Labs - Selenium hosted on Amazon EC2
- W3QA - Selenium On-Demand Framework
- Selenium RC tutorial
- Selenium Beginner Tutorial
- Flash Selenium
- Silverlight Selenium
- Selenium/iMacros comparison
- Tutorial on how to get started with Selenium Remote Control
- Unofficial Erlang client driver for Selenium RC

