Selenium (software)
From Wikipedia, the free encyclopedia
This article does not cite any references or sources. (March 2008) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
Selenium is a portable software testing framework for web applications. The tests can be written as HTML tables or coded in a number of popular programming languages and can be run directly in most modern web browsers. Selenium can be deployed on Windows, Linux, and Macintosh.
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, that provides a hub allowing to run 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).
There is a tutorial available on how to get started with Selenium Remote Control.
[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 and Flash applications. Selenium does not currently support Flash/Flex testing.
- HtmlUnit
[edit] References
- PHP Cookbook by Adam Trachtenberg, David Sklar
- Pro Ajax and Java Frameworks by Ryan Asleson, Nathaniel T. Schutta