Measures the quality of the business components of the system.
Verifies that the system behaves correctly from the user / business perspective.
Verifies that each component or business event performs in accordance to the specifications, responds correctly to all conditions that may be presented by incoming events / data, moves data correctly from one business event to the next in the order required to meet the business objectives of the system.
Testing of a program that has been modified in order to ensure that additional bugs have not been introduced. When a program is enhanced, testing is often done only for the newly added features. However, adding source code to a program often introduces errors in other routines. Hence the old and stable functions must be retested along with the new ones.
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 Inc .
It is released under the Apache 2.0 license and can be downloaded and used without charge.
Test Suite Application being tested Test Cases Steps of the test case Execution Control
Run All Tests Run Selected Test Pause/Play Execution Step through Execution Control Speed of Execution Highlight Elements in the Execution View the DOM of the current Page being tested Summary of the Test View the log of the current execution
To use Selenium Core, we need to make it available from the same web server as the application you want to test.
We may just want to use Selenium IDE or Selenium RC instead.
Selenium IDE is an integrated development environment for Selenium tests. It is implemented as a Firefox extension, and allows us to record, edit, and debug tests. Selenium IDE includes the entire Selenium Core, allowing us to easily and quickly record and play back tests in the actual environment that they will run.
Selenium IDE is not only recording tool: it is a complete IDE. We can choose to use its recording capability, or we may edit our scripts by hand. With the autocomplete support and the ability to move commands around quickly, Selenium IDE is the ideal environment for creating Selenium tests no matter what style of tests we prefer.
Selenium tests run directly in a browser, just as real users do. These tests can be used for both acceptance testing (by performing higher-level tests on the integrated system instead of just testing each unit of the system independently) and browser compatibility testing (by testing the web application on different operating systems and browsers
The Selenium Server is written in Java, and requires the Java Runtime Environment (JRE) version 1.5.0 or higher in order to start. You may already have it installed. Try running this from the command line:
You should see a brief message telling you what version of Java is installed, like this:
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode)
If you see an error message instead, you may need to install the JRE, or you may need to add it to your PATH environment variable.