×

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- Microsoft Edge Browser

Selenium WebDriver- Microsoft Edge Browser: In this tutorial, we will learn how to launch the Microsoft Edge browser in the Selenium WebDriver. Before we start automating our test script with Microsoft Edge...

4 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 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 QTPLicensingSelenium is an open-source testing tool....

3 minutes read.

Selenium WebDriver- Checkbox handling

Selenium WebDriver- Checkbox handling In this tutorial, we will be learning about handling the checkbox in selenium WebDriver. Let us take one example to give you a better understanding of Checkbox handling,...

4 minutes read.

Selenium WebDriver-CSS Selector: Tag Class and Attribute

Selenium WebDriver-CSS Selector: Tag, Class, and Attribute We will locate the web element with the help of Tag, class, and attribute CSS selector locator in this section of the tutorial. Where Tag,...

5 minutes read.

Characteristics of Selenium IDE

Characteristics of Selenium IDE Selenium IDE is separated into different parts, each having their features and functionalities. The seven various components of Selenium IDE are as follows: MENU BAR: The menu bar is...

3 minutes 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.

Mouse and Keyboard Controls in Selenium WebDriver

Mouse and Keyboard Controls in Selenium WebDriver In this tutorial, we will learn about how to handle mouse and keyboard event using action class in selenium WebDriver. Action Class in Selenium WebDriver: Action...

13 minutes read.

Selenium Tool Suite

The selenium tool suite is a combination of multiple software tools, and the entire tools having a different approach to support automation testing. Selenium test tool suites are as follows- Selenium...

2 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.

Data-Capture Controls Methods in Selenium WebDriver

Data-Capture Controls Methods: The data-capture controls are used to determine the text, size, location, and the CSS value of the web element, etc. Some of the most commonly used data-capture controls are...

7 minutes read.

WebDriver-Name Locator:

WebDriver-Name Locator: The name locator is used to identify any element in UI with the help of the name backend attribute. The Syntax of the name attribute is as below: driver.findElement(By.name(“value of the...

4 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.

Operational Controls Methods in Selenium WebDriver

Operational Controls Methods The Operational controls are used to perform all the actions on the web elements like click on the button, pass the value in the text box, and click...

4 minutes 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.

Selenium-IDE Locators

Selenium-IDE Locators: Before we start learning about Selenium –IDE Locators, firstly we have to learn about UI elements. UI Elements -UI elements are the elements which are displayed on the web application....

1 minute read.

Selenium WebDriver-XPath Locator

Selenium WebDriver-XPath Locator The locators can make the object identification of all the selenium tools. There are eight locators available in selenium web driver, but most of the time we go for...

14 minutes read.

Selenium Assertion

Selenium Assertion: In this section, we will learn about the Assertion in Selenium WebDriver. An Assertion is a feature available in TestNG, which is used to verify the expected result of...

7 minutes read.

First test case of Selenium-IDE

First Test Case of Selenium-IDE: In this part, we are discussing how to create a basic test case in Selenium-IDE: The entire test script execution process in Selenium -IDE can be divided...

4 minutes read.

XPath Axes Selenium WebDriver

XPath Axes XPath axes are those axes that are used to search for the multiple nodes in the XML document from the current node context. These methods are mainly used when the...

14 minutes read.