Selenium is a powerful set of tools, focusing on the rapid development of automated tests for Web applications. Selenium provides a rich set of Web testing with greater flexibility and supports a variety of methods for recognition of UI elements, and to compare the expected test results with the actual behavior of the application.
One of the main features of Selenium is to support the test run on different platforms and browsers.
Draft Selenium is an open source web-testing. Selenium tests run directly in a browser that simulates the user’s actions. They are adapted to work in Internet Explorer, Mozilla Firefox on Windows, Linux and Macintosh, Safari on Mac.
Selenium recognizes objects based on the structure of DOM in the HTML-page. Selenium UI objects do not have a clear description and not consistent with the policies WYSWYG.
There are three options for Selenium, which can be used separately or together to create a complete set of test actions for automating Web-based applications.
Selenium IDE is an integrated development environment for Selenium tests. It is implemented as an extension of Firefox, and also allows you to record, edit, debug and run tests. It can also record user actions for the most popular programming languages ??such as Java, C #, Perl, PHP, Python, Ruby. To execute scripts in these languages you will need to Selenium RC (Remote Control). There is an opportunity not to use Selenium RC, but need to create test scripts in HTML format.
The biggest drawback of Selenium IDE is a limitation in terms of brauzenoy independence. While Selenium tests can be used for most of the browsers and operating systems, tests, written using Selenium IDE, can be used only for Firefox, if they are not used with Selenium RC or Selenium Core.
Selenium Core is a test tool for Web applications. In other words – is the core (engine) to run the tests on which the entire line of tools Selenium. Selenium Core is written in pure DHTML / JavaScript, which gives flexibility in all browsers supporting JavaScript. Selenium Core tests run directly in your browser. And they work in Internet Explorer, Mozilla Firefox on Windows, Linux and Macintosh.No to use Selenium Core, we need to do it to be available from the same Web server as the application that you want to test.
Selenium Remote Control (RC) is a test tool that allows you to write automated tests for web applications in any programming language against any HTTP website using basic JavaScript-enabled browsers.
Selenium is composed of two parts.