Tuesday, April 14, 2015

Pros and Cons of QTP compared with Selenium

Now let us make a broad comparison among the two tools

Sr.
What HP QTP has
What Selenium has
1QTP is ideally suited for browser based testingSelenium too can very well do browser based testing
2QTP is licensed software & requires license costs that are quite a bit.Selenium is an open source tool that doesn’t cost anything
3QTP 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.
4QTP is quite easy to learn in a short time. Selenium needs quite a bit of expertise compared to QTP.
5QTP offers great benefit of the support for Business Process Testing. Selenium users don’t enjoy such benefits
6QTP 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.
7QTP 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.
8QTP works very well with database applications better than Selenium.With Selenium one needs to exert hard to do the same job.
9It is difficult to deploy smoke tests for web applications using QTP especially with Windows7. With Selenium these tasks can be easily accomplished.
10QTP uses VBscript as the only scripting languageSelenium provides a test domain specific language (DSL) to write tests in many popular programming languages, in addition to scripting with VB script
11QTP 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
12Resource wise it is quite easy to find engineers having expertise on QTPSelenium Automation Engineer are bit scarce.
13With QTP we can easily generate most comprehensive reports due to the availability of an efficient online helpSelenium users don’t enjoy such luxury as enjoyed by QTP users
14Using a QTP framework needs less skills & everyone from a beginner to an expert can contribute in test creation to maintenanceSkill level expected in a Selenium Automation Engineer are a bit higher compared to QTP Automation Engineer
15QTP 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.
16QTP 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.
Conclusion:
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.


Ref: http://www.quicklearnqtp.com/2009/05/comparison-of-gui-testing-tools.html

No comments:

Post a Comment