Many, perhaps most, software applications today are written as web-based applications to be run in an Internet browser. The effectiveness of testing these applications varies widely among companies and organizations. In an era of highly interactive and responsive software processes where many organizations are using some form of Agile methodology, test automation is frequently becoming a requirement for software projects. Test automation is often the answer. Test automation means using a software tool to run repeatable tests against the application to be tested. For regression testing this provides that responsiveness.
There are many advantages to test automation. Most are related to the repeatability of the tests and the speed at which the tests can be executed. There are a number of commercial and open source tools available for assisting with the development of test automation. Selenium is possibly the most widely-used open source solution.
Selenium is primarily a testing tool that automates browsers and web applications. It is an open source technology that provides a portable software Countless Selenium tutorials are available online for software testers looking for reliable testing technology.
In selenium, testers develops automation scripts using any language supported by the automation tool. For eg: using selenium automation tool the testers develops automation scripts using java language
What does selenium do?
You can use open source Selenium tool to record and playback tests (like WinRunner, QTP). You can then export the recorded test in most language e.g. html, Java , .net , perl , ruby etc. The exported test can be run in any browser and any platform using “selenium remote control”.
What are the components of selenium ?
Why Selenium is so Popular ?
Selenium has no upfront, out-of-pocket costs. It is a free download and support is free too, although it is community-based.
Selenium tests are, in principle, able to run under multiple browsers.
Selenium scripts are created by recording actions using the web application under test running in a browser. These scripts can be saved and re-run at any time. Selenium tests can be created manually through the use of web development tools such as Firebug also.
Selenium does not restrict QA’s choice of reporting tools, build systems or any other aspect of their testing framework.
Components about the Selenium Automation Tools:
1. Selenium is an open source tool i.e. Unlike the proprietary tools its available free of cost.
2. This is the best tool available in the market for web application testing
3. One of the selenium’s key features is the support for executing one’s tests on multiple browser platforms like Internet Explorer, Firefox, Google Chrome, Opera, Safari etc.
4. Selenium allows you to control a browser from a language of your choice. You can choose any one of these Six languages to write automation scripts -> Java, C#, Ruby, Python, Perl and Php
5. Selenium is available for Operating Systems such as Windows, Linux and Mac
6. Selenium can be used for functional, compatibility, regression testing and User Acceptance Testing (Mainly used for Regression Testing).
*Functional Testing refers to the test that verifies a specific action of the software (Example – Logging into the Gmail is an action)
*Compatibility Testing is performed to verify whether a software works with all other supported software and hardware.
*Regression Testing is the repetition of the earlier successful tests in order to make sure that changes to the software has not introduced any new side effects
*User Acceptance Testing is testing an application prior to customer delivery for functionality and usability using real world scenarios which resemble how the application will be used by the end users.