With the infusion of new technologies in the software industry, software testing has become a vital part to maintain the quality of the software. Software testing can be done either manually or using automated testing tools. But repeating the steps manually are very costly and time consuming. Automated test can repeated again and again with no additional cost and requires less time.
Selenium is one of the top most tools for performing automated testing. It is an open source tool for testing web applications across different browsers and operating systems. Selenium itself consists of four basic tools
- Selenium IDE – a Firefox plugin that allows testers to record and play their testing steps.It works only with Mozilla Firefox
- Selenium RC – test tool which helps you to write web application UI test in many programming languages (Java, Ruby, Python, Perl, PHP or .Net).This tool is not flexible across different browsers which leads to the discontinuation of tool. Selenium RC requires a special sperver to run test cases.
- Selenium WebDriver – This is a successor to selenium RC which don’t require a special server to execute test cases. WebDriver uses a browser driver which sends commands to the browser and retrieve desired results.
- Selenium Grid – tool which allows user to run parallel test across different browser and different machines simultaneously.
How Selenium is different than its cousin QTP/UFT
|Selenium||Quick Test Professional/UFT|
|Open source tool||Costly commercial tool|
|Supports only web based applications||Supports both web and desktop applications|
|Testers can run its script across different browsers||Testers can run its script on Firefox, IE and chrome only|
|Supports multiple operating systems||Works only with Windows|
|Supports testing of mobile devices||Supports testing of mobile devices with the help of third party tool|
|Can execute parallel test with the use of Selenium grid||After integration with QC, allows QTP to execute test cases in parallel.|
|No default report generation with in the tool||No default report generation with in the tool|
|Script development takes time||User friendly interface which allows user to generate scripts faster.|
We suggest you to use Software testing tool as per your needs.Selenium is best for cross browser testing and QTP/UFT is best for application based testing.