Category Archives: Selenium

Test Automation – QTP vs. Selenium

Automated testing will shorten development and test cycles, by avoiding repetitive tasks and improve software quality.

But to get success in that choosing right automation tool is very important.

There is much functional and nonfunctional automation testing tool available in market, some are commercial and some are open source.

We will talk about two tools which are majorly used by the testers or firms.

HP QTP and Selenium

Let us check the positive and negative points of both the tool.

First will discuss about HP QTP tool

Positive points

  1. Primary language used is VB script and can be easily learn by user.
  2. Object repository is great feature.
  3. QTP can be integrated with HP ALM, so easily manageable.
  4. Product Support can be available.
  5. Reporting can be easy if it associated with ALM.
  6. Less coding experience
  7. Supporting windows based application.

Negative points

  1. QTP is costly compare to other commercial tools and license cost depends on volume and the type of license. If any add-ins required then extra cost for that. And requires renewal.
  2. Upgrade required whenever the system or software upgrade done QTP version also have to be upgraded based on specific application.
  3. With respect to performance execution time is higher, whereas scripting time is less.
  4. Hardware resource utilization High
  5. Only supports windows environment.

Now we will discuss about Selenium.

Positive points

  1. Primary Selenium supports many languages Like Java, C#, ruby, and python.
  2. It is an open source (no license cost) and also can support integration with Test NG, Maven and Ant for build and execution.
  3. Supports most of the browsers Like IE, Chrome, FF, Safari etc…
  4. User can create their own framework based on the needs.
  5. Hardware utilization is less
  6. Very good for Web automation
  7. Supports multiple Environment like Linux , Solaris OS X, Windows.

 Negative points

  1. Resource or user should be good in programming and also in framework as well as in reporting.
  2. There will not be any direct support and user has to find solution through forums or community online.
  3. More coding experience required
  4. Windows based application cannot be tested as only support web automation.