Open In App

Difference between Selenium and QTP

Improve
Improve
Like Article
Like
Save
Share
Report

This article focuses on discussing the difference between Selenium and QTP.

Selenium

Selenium is a tool for testing the software. There is no need to learn a test scripting language because Selenium provides a playback tool for authoring functional tests without learning it. It was developed by Thoughtworks in 2002 and it lets you write test scripts in various programming languages like Python, Java, JavaScript, C#, and Ruby. It is an open-source software that automates web browsers and provides a single interface. Browsers supported by Selenium are Google Chrome, Mozilla Firefox, and Safari.

QTP

QTP stands for QuickTest Professional. It is an automated functional testing tool. It was developed in 2019 by Mercury Interactive then later on acquired by HP, and now Micro Focus. It tests both web and desktop applications and is based on Visual Basic scripting language. It is one of the most popular and widely used automation tools in the market.

Selenium vs QTP

Parameters

Selenium

QTP

Definition

It is a set of APIs.

It is a type of desktop application.

Open-source

Selenium is an open-source tool hence no license required.

License is required.

Resource Consumption

There is a Low resource consumption during test scripts execution. In QTP there is a High resource consumption.

Community Suppport

Community support through Selenium forums.

Dedicated customer support from HP (Hewlett Packard) for QTP

Parameterization

There is an element for parameterization on any one of the supported programming language. For parameterization in QTP, built-in tools are available.

Environment Supported

Some supported environments in Selenium are Android, iOS, Windows, Linux, Mac, Polaris. QTP supports only Windows.

Application Supported

It supports automation for web based applications There is a support for test on both web and desktop based applications.

Languages Supported

Java, C#, Ruby, Python, Perl, PHP and JavaScript are the programming languages supported in selenium. QTP supports VB Script.

Test Report Generation

For generating the reports of test, selenium rely on external tool. There is built-in test report generation within the tool QTP.

Plugins

All additional plugins are allowed in Selenium. In QTP, it supports SAP, Oracle and includes no add-ons to the software

Object Repository

Object Repository is absent in selenium. There is a built-in object repository in QTP.

Recovery Scenario

Recovery Scenario is absent in selenium. There is a built-in recovery scenario in QTP.

Browsers Supported

Browsers supported by selenium are Google Chrome, Mozilla Firefox, Internet Explorer, Edge, Opera, Safari, etc. Browser supported in QTP are specific versions of Google Chrome, Mozilla Firefox and Internet Explorer.

User-friendly

Selenium is less user-friendly. QTP is user-friendly.

Platforms Supported

Tests can be executed in multiple platforms like NetBeans, Eclipse and Visual Studio. Tests are only compatible with QTP IDEs.

Speed of Automation

The speed of automation when using Selenium is slower when compared with QTP. The speed of automation when using QTP is faster when compared with Selenium.

Technical Support Services

It does not have technical support services. It has technical support services.


Last Updated : 08 Jan, 2024
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads