Selenium (software)
4544097
225477760
2008-07-13T22:13:28Z
213.167.146.71
/* See also */
{{Unreferenced|date=March 2008}}
'''Selenium''' is a portable [[software testing]] [[Software framework|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 [[Microsoft Windows|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 License|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.
{{Portal|Software Testing}}
== Selenium IDE ==
'''Selenium IDE''' is a complete [[Integrated Development Environment|Integrated Development Environment (IDE)]] for Selenium tests (previously known as Selenium Recorder). It is implemented as a [[Firefox]] [[Add-on (Mozilla)|extension]], and allows recording, editing, and debugging tests.
Scripts may be automatically recorded and edited manually providing [[Autocomplete|autocompletion]] support and the ability to move commands around quickly.
Features:
:*Record and playback <br />
:*Intelligent field selection will use IDs, names, or [[XPath]] as needed <br />
:*Autocomplete for all common Selenium commands <br />
:*[[Software walkthrough|Walk through]] tests <br />
:*Debug and set [[breakpoints]] <br />
:*Save tests as [[HTML]], [[Ruby (programming language)|Ruby]] scripts, or other formats<br />
:*Support for Selenium user-extensions.js file <br />
:*Option to automatically assert the title of every page
== Selenium Remote Control ==
'''Selenium Remote Control''' ('''RC''') is a server, written in [[Java (programming language)|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 (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[.NET Framework|.NET]], [[Perl]], [[Java (programming language)|Java]], and [[PHP]]. The Java driver can also be used with [[JavaScript]] (via the [[Rhino (JavaScript engine)|Rhino]] engine).
There is a [http://www.bluetwanger.de/blog/2006/09/14/functional-unit-testing-for-web-applications-selenium-remote-control/ tutorial] available on how to get started with Selenium Remote Control.
==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.
* [http://www.adobe.com/devnet/flash/articles/flash_selenium.html Testing Flex and Flash applications with Selenium]
*[[HtmlUnit]]
==References==
*[http://www.amazon.com/Cookbook-Cookbooks-OReilly-Adam-Trachtenberg/dp/0596101015/ref=sr_1_2?ie=UTF8&s=books&qid=1210882114&sr=8-2 PHP Cookbook by Adam Trachtenberg, David Sklar]
*[http://www.amazon.com/Pro-Ajax-Java-Frameworks/dp/1590596773/ref=sr_1_1?ie=UTF8&s=books&qid=1210882604&sr=1-1 Pro Ajax and Java Frameworks by Ryan Asleson, Nathaniel T. Schutta]
== External links ==
*[http://www.openqa.org/selenium/ Selenium]
*[http://www.openqa.org/selenium-ide/ Selenium IDE (developers homepage)]
*[https://addons.mozilla.org/firefox/2079/ Selenium IDE (from Mozilla Add-ons Library)]
*[http://www.openqa.org/selenium-rc/ Selenium Remote Control]
*[http://selenium-grid.openqa.org/ Selenium Grid]
*[[MW:Extension:Selenium|MediaWiki Selenium extension]]
[[Category:Load testing tools]]
[[de:Selenium]]