software testing genius

Pros and Cons of HP QTP and Selenium the New Generation Software Testing Tools

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

Pros & Cons of HP QTP & Selenium the New Generation Software Testing Tools

The IT sector is aware of the emergence of QuickTest Professional (QTP) & Selenium as the popular choice of testers & programmers for their test automation effort.

First of all let us have a quick overview of both the software testing tools, before going into a broad comparison among the functionality of the two.

1) Quick Overview Ė HP QTP:

QTP is automated testing tool meant for performing functional and regression testing of various software applications and environments through a user interface like native GUI or web interface. It uses VBScript as the scripting language for specifying a test procedure, & for manipulating the objects & controls of the AUT. It supports a keyword and a powerful graphical user interface.

size=2 face=Arial>2) Quick Overview Ė Selenium:

Selenium is an open source software-testing tool that had been developed by Jason Huggins & his team This is released under the Apache 2.0 license and can be downloaded and used without any charge. It provides a record / playback function for authoring the tests meant for web applications. It offers a test domain specific language (DSL) to write tests in many popular languages like C#, Java, Groovy, Perl, PHP, Python and Ruby etc. Selenium works on Windows, Linux, and Macintosh platforms. Many additional projects have emerged out of the parent Selenium like Selenium Grid Selenium IDE & Selenium Remote Control having different abilities that provide a boost to the parent Selenium.

Now let us make a broad comparison among the two tools


What HP QTP has

What Selenium has


QTP is ideally suited for browser based testing

Selenium too can very well do browser based testing


QTP is licensed software & requires license costs that are quite a bit.

Selenium is an open source tool that doesnít cost anything


QTP is quite easy to use. It is quite easy to edit the script, parameterize, navigate, playback & validate the results.

For using Selenium one needs to have programming skills.


QTP is quite easy to learn in a short time.

Selenium needs quite a bit of expertise compared to QTP.


QTP offers great benefit of the support for Business Process Testing.

Selenium users donít enjoy such benefits


QTP comes powered with several add-ins by which user can comfortably work with Web, Windows, Java, dotNet applications simultaneously.

Selenium users donít enjoy such facility.


QTP seamlessly integrates with QC and has excellent ability to automate non-web applications.

Selenium is an excellent tool for purely web-based applications, especially when you donít need QC.


QTP works very well with database applications better than Selenium.

With Selenium one needs to exert hard to do the same job.


It is difficult to deploy smoke tests for web applications using QTP especially with Windows7.

With Selenium these tasks can be easily accomplished.


QTP uses VBscript as the only scripting language

Selenium provides a test domain specific language (DSL) to write tests in many popular programming languages, in addition to scripting with VB script


QTP users find scripts written in VBscript more flexible & easy to manipulate & as such tool tends to be cost effective due to the availability of a full fledged support.

Selenium users feel that the tool tends to be expensive due to lack of support & necessity of rewriting its scripts quite often


Resource wise it is quite easy to find engineers having expertise on QTP

Selenium Automation Engineer are bit scarce.


With QTP we can easily generate most comprehensive reports due to the availability of an efficient online help

Selenium users donít enjoy such luxury as enjoyed by QTP users


Using a QTP framework needs less skills & everyone from a beginner to an expert can contribute in test creation to maintenance

Skill level expected in a Selenium Automation Engineer are a bit higher compared to QTP Automation Engineer


QTP users donít enjoy a freedom of scripting language & IDE like their counterparts using Selenium.

For web based applications, development with Selenium is a wonderful experience since developer gets two benefits like;

1) Scripting language of own choice

2) IDE of Own choice.


QTP is one of the best automation testing tool due to its unique features like Object Repositories, Object identification, Smart Identification etc in addition to its unmatched strength in database testing.

Selenium certainly lacks such features packed in QTP.


Our objective had not been to favor one at the cost of the second. It is a matter of convenience for the testers & programmers to select a tool that suits their requirements best.

Lastly both these tools have their own advantages & shortcomings, while it all depends upon the users who truly knows how to exploit them to their best advantage.

Many More articles on Test Automation Frameworks

Study Material - HP QTP & QC Certification Exams

Study Material - IBM RFT Certification Exam

Study Material - HP LoadRunner Certification Exams for All Modules

Study Material - ISTQB Certification Exam

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Quick Navigation of Software Testing Genius

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

Full Study Material for ISTQB Certification Exams:

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Most Popular Topics in Demand:

Practical Roadmap to QTP Certification

Practical Roadmap to CSTE Certification

Consolidated Study Material - Testing & QA

Rehearsal of QTP in 1 Hr. -  Interview Questions


Comments :


# 1 Richa on 2011-06-25 04:21:19
What a fantastic comparison between the two tools. I have been looking for QTP vs Selenium since long and my wait has ended here.

Great comparison Yogindernath.


# 2 John on 2011-06-26 00:20:54
What is the most important quality you think a tester needs to have?

# 3 Yogindernath on 2011-06-26 00:29:27
Thanks a lot Richa. Keep waiting for more posts on QTP and Selenium in a short while.


# 4 madhu on 2011-06-27 01:40:20
Too good.Thank u so much

# 5 Jonathan on 2011-06-27 11:09:45
According to me, ability to think or figure things out on their own is the most important quality I would want to see and expect to see in an interview. If the tester cannot prove this to me in an interview, I will stop the interview there itself.

# 6 Asha on 2011-06-27 11:15:50
For me, its Communication skills. If the tester cannot adequately communicate the findings (defects or otherwise) to other team members, they will not be as effective or successful.


# 7 Tulin Pledger on 2011-06-27 17:41:47
Nice comparison. Perhaps you should also take a look at how HP compares to Original Software?

# 8 Yoginder on 2011-06-30 12:21:39
A good tester should have a 'test to break' attitude, an ability to take the point of view of the customer, a strong desire for quality, and an attention to detail. Tact and diplomacy are useful in maintaining a cooperative relationship with developers, and an ability to communicate with both technical (developers)& non-technical (customers, management) people is useful. Judgment skills are needed to assess high-risk areas of an application on which to focus testing efforts when time is limited.

# 9 jussi on 2011-07-08 14:38:29
Selenium as such is not very general but just take a look are Robot Framework. it provides proper abstraction level (you don\'t have to know how to program), add-on libraries (eg. For EB) and easy extendability, ability to easily test non-web applications and integration eg. to Jenkins and Maven.

# 10 QTP on 2011-07-10 09:58:17
Very Good comparison

# 11 richa rattan on 2013-03-04 10:05:29
hi... i am a M-tech final year student....have chosen testing as an area for thesis... do comparison between selenium & qtp will be an good idea?????? plz help me out......

Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri