Skip to main content

What is the difference between Selenium and QTP?

Feature
QTP(UFT)
Selenium
Language Support
VB Script
Java, C#, Ruby, Python, Perl, PHP
Windows (Non-browser)
based Application support
Yes
No
Browser support
Google Chrome (uptill ver 23) Internet Explorer , Firefox ( ver 21)
Google Chrome , Internet Explorer , Firefox , Opera , HtmlUnit, Safari
Environment Support
Only Windows
Windows , Linux , Solaris
OS X , iOS, Android, Others (If brower & JVM or
Javascript support exists)
Mobile (Phones & Tablets)
Support
Different commercial product i.e. HP UFT Mobile (formerly known as MobileCloud for QTP)
Android , iPhone & iPad ,
Blackberry , Headless WebKit

Framework
Easily integrated with HP Quality Center or HP ALM (separate commercial products)
Selenium + Eclipse + Maven / ANT + Jenkins / Hudson & its plugins / Cruise Control + TestNG + SVN
Continuous Integration
Possible through Quality Center / ALM or Jenkins
Possible through Jenkins / Hudson / Cruise Control
Object Recognition
/ Storage
Inbuilt Object Repository (storing Element Id, multiple attributes) along with weightage that gives flexibility on deviation acceptance in control
recognition
UI Maps and different object location strategy such as -XPath Element ID or attribute DOM

Image based Tests
Easily possible
Possible but not easy
Reports
Quality Center has in-built awesome dashboards

ntegration with Jenkins can give good reporting & dashboard capabilities
Software Cost
License & Annual maintenance Fees
Zero
Coding Experience of
Engineer
Not Much
Should be very good along with technical capabilities of integrating different pieces of framework
Script Creation Time
Less
High
Hardware resource (CPU
+ RAM) consumption during
script execution
High
Low
Product Support
Dedicate HP support along with support forums
Since it is an open source, it has no official tech support.
Test Development Environment
Test scripts can be developed in various IDEs like Eclipse, Visual Studio, Netbeans etc.
Test scripts can be developed only in QTP.

Comments

Popular posts from this blog

How to create package inside a project?

What Is a Package? A package is a namespace that organizes a set of related classes and interfaces. Conceptually you can think of packages as being similar to different folders on your computer. You might keep HTML pages in one folder, images in another, and scripts or applications in yet another. Because software written in the Java programming language can be composed of hundreds or thousands of individual classes, it makes sense to keep things organized by placing related classes and interfaces into packages. -> Right click on the Project (Make sure you should right click on project, because you are creating package inside the project). -> Go to New. -> Click on Package. -> In New Java Package window, enter package name in Name text box. -> Now click on Finish . -> Now you can see the package inside the project at Project Explorer area. Now your package is ready.