×

Selenium vs QTP

In this section, we are comparing the most frequently used automation tool –Selenium and QTP. Selenium and QTP have relative advantages over each other-

FeaturesSeleniumHP QTP
LicensingSelenium is an open-source testing tool. Selenium is free and not required any licensing.QTP is a commercial tool by Micro Focus and  to use QTP,  requires a license, and it is expensive
Test SupportSelenium supports an only web-based application for automation.QTP Support both web and desktop-based applications.
Resource consumptionSelenium has low resource consumption. QTP has high resource consumption.
 Programming Languages SupportSelenium supports multiple languages like-Java, C#, Ruby, Python, Perl, PHP, and JavaScriptQTP supports only VB Script.
Environments Support Selenium supports multiple environments, like Android, iOS, Windows, Linux, Mac, Solaris.QTP supports only Windows.
IDE SupportsSelenium has the option of using multiple ranges of IDEs like Visual Studio, Eclipse, Net beans.QTP  has its IDE to develop a test script
Browser SupportsSelenium supports multiple browsers like Google Chrome, Mozilla Firefox, Internet Explorer,  Opera, Safari, etc.QTP supports specific versions of Google Chrome, Mozilla Firefox, and Internet Explorer.
Object Repository/Recovery ScenarioSelenium does not  have a built-in object repository, but  some time object can be managed by using UI element user extension.QTP has Built-in object repository and recovery scenario. Object repository development and maintenance is secure in HP ALM.
Technical SupportsSelenium has no official support because it is an open-source.HP QTP has excellent technical support.
Browser ControlsNo browser control in Selenium. Browser Controls like favorite bar, backward and forward buttons.
Tool ManagementSelenium did not integrate with any tool.QTP integrates with a test management tool like HP Quality Center.
Test Report GenerationSelenium relies on an external tool for generating test reports. QTP Built-in tool for test report generation.
ParameterizationIt relies on any one of the supported programming languages for parameterization.QTP has built-in tools for parameterization.

Drawback or Limitations of Selenium

Followings are the Drawback or limitations of Selenium:-

Drawback /LimitationsDescription
Desktop applications cannot be automated by Selenium.To test the desktop application, we have tools like Test Complete, Winnium, and QTP/UFT, etc. 
Mobile applications cannot be automated by Selenium.   For mobile applications, Appium is the best tool to automate. 
Technical skills are required toautomate the test cases in Selenium.Test engineers should have to know any of the programming languages like Java, Python, C#, Ruby, JavaScript, etc. to create useful automated tests script. 
  Built-in Object Repository is not there in Selenium for maintaining the objects at a centralized location.QTP/UFT is the tool which has this feature.
For automating Web Services like Soap or Rest Selenium is not used. We have other tools like Rest Assured Framework, Apache HTTP Client and, SoapUI, etc. to automate web Service. 
The capability to test the images does not support bySelenium. To perform Image-Base Testing , Selenium integrates with tools like Sikuli.   
By default, selenium does not have reporting capability. To get the reporting feature, Selenium has to integrate with TestNG, Extent Reports, etc. 
Window Based pop-ups which appear while we are working with the Web-based application functionalities like upload File etc. cannot handle by Selenium.To handle Window Based pop-ups, Selenium integrates with tools like AutoIt. 
 Selenium cannot automate the Captcha code.The best way to test the captcha code is to ask the development team to disable them or make them static. 
Video Streaming cannot be automated by Selenium.The content which is playing inside the video can’t be tested by selenium. 
For creating and executing the test scripts, selenium does not have its IDE. Selenium needs other IDEs like Eclipse IDE, IntelliJ, etc. 
There is no vendor or official support, as Selenium is an Open Source and free tool. While other tools like QTP/UFT, HP Company provides official support. 
In Selenium, we have to configure each and everything on our own like creating test environments or test scripts in Selenium. While tools like QTP/UFT, Test Complete, etc. have their inbuilt features to develop everything. 
To automate Performance testing , Selenium is not an effective solution.We have specific tools like JMeter, Load Runner, etc. are useful in performance testing. 

Related Topics

Selenium WebDriver-CSS Selector: Substring Matching

CSS Selector: Substring Matching Selenium WebDriver In this tutorial, we will learn how to identify the web element using the substring method. A Sub-string contains three methods for identifying the web element...

9 minutes read.

Selenium WebDriver – Web Element Controls

Selenium WebDriver – Web Element Controls A web element is an interface that is implemented by a remote web element class. The Web element control can be used to perform the data...

1 minute read.

Selenium Wait

In this tutorial, we will understand how we can avoid synchronization issues while executing the test script in a selenium WebDriver. Before going further in this tutorial, first, we will understand that...

10 minutes read.

Selenium-IDE Installation in Chrome

Selenium-IDE Installation Since Selenium IDE is designed only for Firefox and Chrome plug-in, we are assuming that you have already installed the Google Chrome browser in your system. However, you can...

1 minute read.

Selenium-IDE Login test

Login test for Selenium-IDE Now we are learning, how to create a Login/sign-up Test case in Selenium IDE. For our testing purpose, we are going to test the login page provided by...

2 minutes read.

WebDriver-Id Locator

WebDriver-Id Locator: The Id Locator is used to identify any web element in UI with the help of the ID attribute. The First preference is always goes to ID locator while inspecting...

4 minutes read.

Selenium WebDriver installation

Installation Steps of Selenium WebDriver In this tutorial, we will see the process of selenium webdriver installation. Selenium WebDriver installation process is done in four Stages: Java Installation (version 8 or higher version) Eclipse...

4 minutes read.

Selenium WebDriver Tutorial

Seleniun WebDriver Introduction Selenium WebDriver is the essential tool of Selenium Tool Suite because it can directly communicate the browser without any server.  Selenium WebDriver is a browser automation framework that accepts...

3 minutes read.

CSS Selector: Class in selenium IDE

CSS Selector: Class Identify a web element with the help of Class as a CSS Selector is like using id attribute. The only difference between Class and id is in their...

2 minutes read.

Selenium WebDriver – Window handling

Selenium WebDriver – Window handling In this tutorial, we will understand how we can handle the window, multiple windows, and pop-ups in selenium WebDriver. We have different types of window, and pop-ups...

7 minutes read.

Selenium WebDriver - Browser Controls Commands

Selenium WebDriver - Browser Controls Commands WebDriver includes operations like opening a browser, fetch the title, and closing the browser, etc. Some of the most commonly used Browser controls commands for Selenium WebDriver...

6 minutes read.

Selenium WebDriver Commands

Selenium WebDriver Commands: As we learn previously in the Selenium-IDE tutorial, Selenium commands are the set of commands that are used to run a Selenium test script. But whereas, Selenium WebDriver had...

2 minutes read.

Selenium WebDriver-CSS Selector: Tag and Class

Selenium WebDriver-CSS Selector: Tag and Class We will locate the web element with the help of tag and class CSS selector in this section of the tutorials Where Tag and class are...

4 minutes read.

Drawback or Limitations of Selenium

Drawback or Limitations of Selenium Followings are the Drawback or limitations of Selenium:- Drawback /LimitationsDescriptionDesktop applications cannot be automated by Selenium.To test the desktop application, we have tools like Test Complete, Winnium, and...

2 minutes read.

Selenium WebDriver - IE [Internet Explorer] browser

Selenium WebDriver - IE [Internet Explorer] browser In this segment, we will understand how to run a test script with the help of the IE (Internet Explorer) browser. It is a standalone...

4 minutes read.

CSS Selector: Sub String in Selenium IDE

CSS Selector: Sub String CSS Selector Sub-string is used to match a partial string to locate a particular web element. There are three ways to match a substring using a CSS Selector. Match...

2 minutes read.

Selenium IDE Tutorial for Beginners

Selenium IDE Introduction Selenium IDE stands for Integrated Development Environment. Selenium-IDE is released in 2006 and developed by SHINYA [JAPAN] THOUGHTWORK Company. Selenium IDE implemented as a Firefox plug-in, and concedes the record, edit, and debug tests....

2 minutes read.

Selenium WebDriver-CSS Selector locator

Selenium WebDriver-CSS Selector locator A CSS selector is used to identify the web element based on their “# id” and “. Class”, Html tags, and attributes. A CSS stands for Cascading Style...

1 minute read.

CSS Selector: Attribute in Selenium IDE

CSS Selector: Attribute Locating the attribute of a CSS selector, we would access the Password textbox, which is present in the login form of Facebook. The Password textbox has a type attribute...

1 minute read.

WebDriver-Class Name Locator

WebDriver-Class Name Locator In this tutorial, we will learn about the Class name locator of selenium WebDriver. The Class Name locator is used to identify any element in UI based on the...

4 minutes read.