Here it contains basic introduction & history about Selenium Testing , its advantages and PDF Tutorials for reference.
Selenium provides a set of testing functions specifically geared to the needs of testing of a web application. Selenium operations are highly flexible, allowing many options for placing UI elements and comparing expected test results against actual application behaviour.
Components of Selenium are the following:
- Selenium IDE
- Selenium Remote Control
- Selenium Grid
Selenium IDE is an integrated development environment for Selenium tests and is implemented as a Firefox extension, and allows you to record, edit, and replay the test in firefox. It allows you to save tests as HTML, Java, Ruby scripts, or any other format and thus allows you to automatically add assertions to all the pages. Selenium IDE allows you to add selenese commands as and when required.
Selenium IDE has some limitations, such as:
Selenium IDE can be tested only on Firefox. No Programming login (like loops, conditional statements) can be applied
It can execute scripts created in Selenese only.
It is hard to use Selenium IDE for checking complex test cases involving dynamic contents.
Selenium Remote control
Selenium remote control is a perfect solution to cross browser testing. It is a server, written in Java and thus available on all the platforms.It also acts as a proxy for web requests from them.Selenium remote control bundles Selenium Core and automatically loads into the browser.
Selenium Grid scales the Selenium RC solution for large test suites and test that must be run in multiple environments. It helps to run tests parallel with simultaneous execution (different tests on different remote machines). It permits for running your tests in a distributed test execution environment. It can be used to run your tests against multiple browsers, multiple versions of browser, and browsers running on different operating systems. Selenium Grid takes comparatively less time for the test suite to complete a test pass.
The following are the features of Selenium testing:
- Selenium testing supports Cross Browser Testing and thus it be run on multiple browsers.
- It allows scripting in numerous languages like Java, C#, PHP and Python.
- Its assertion statements give an efficient way of comparing expected and actual results.
- It has inbuilt reporting mechanism.
Using Selenium as Test Automation tool reduces the cost incurred and also ensures faster delivery. Thus it is cost effective and also not time consuming which proves that this is a standard automation tool for regression.
Selenium PDF Tutorials
- Automated Web Testing using Selenium
- Automating Functional Tests Using Selenium
- Selenium Tutorial in PDF
- Functional Testing using Selenium & ColdFusion
- Selenium Automation Framework ( SAF )
- Automated testing of CS UI using Selenium and Python