Introduction to Selenium Testing tool
Selenium is all about Testing Web Apps
Selenium is automation testing tool especially for web based applications. It can run in different browsers and platforms. It has many components
- Selenium Remote Control (RC)
- Selenium Integrated Development Environment (IDE)
- Selenium Web Driver
- Selenium GridIt supports many platform and multiple Operating Systems. It supports multiple languages like Java, C#, Python, PHP, Perl.It is independent of the language of the web application i.e., if we have written web application in perl, we can write the test script using java.
Do you know how selenium got this name?
The name Selenium comes from a joke made by Huggins in an email, mocking a competitor named Mercury, saying that you can cure mercury poisoning by taking selenium supplements. The others that received the email took the name and ran with it
Image courtesy: http://drjockers.com/2011/07/selenium-the-mercury-magnet/
Mercury Interactive Corp developed QTP, later the company was acquired by Hewlett Packard and Selenium is a very good antinode for mercury poisoning. So Jasson suggested this name.
Same Origin Policy
Selenium Remote Control (RC)
For executing test, scripts web server and web app should be made available in local computer. So to solve this issue, Paul Hammant created a server that will act as HTTP proxy to trick the browser believing that selenium core and the web app tested from same domain.
For Largest test suite (group of test cases) and slower running test suites, Patrick Lightbody introduced a new concept called “Selenium Grid”. In his idea, parallel execution of test cases in different browsers and environment can be done so that it greatly reduces the time to execute the all the test cases.
The selenium IDE is developed as a Firefox plugin by Shinya kasatani of japan. He mainly created this for non-programmers; it has record and playback option. Execution speed also increased and he donated this project to selenium project in 2006.
Selenium Web Driver is the only thing that controlled browser actions from OS level and it is developed by Simon Stewart. Others tools like IDE, RC utilizes the selenium core in the browser as their important thing.
Catch you at upcoming post, until then lets share and learn at http://www.guvi.in