Saturday 4 October 2014

Comparison between QTP and Selenium :-

Features
                QTP
              SELENIUM
Cost
Licensed and very expensive; Ten user license costs approx. 60L
Zero
Application support
Client server applications only (like built in TCL/TK and Power Builder)
Web Applications only
Support for web browsers
Google Chrome (uptillver 23)
Internet Explorer , Firefox ( ver21)
Google Chrome, IE ,Firefox , Opera , HtmlUnit
Object Oriented Language support & Scalability
Supports VB script only
Supports Java, .Net, Perl, PHP, Python and Ruby
Support for operating system/platforms
Supports Windows Platform only
Windows , Linux , Solaris
OS X , Others (If brower & JVM orJavascript support exists)
Support for Test management tool integration
Possible through Quality Center
/ ALM or Jenkins
Possible through Jenkins / Hudson/ Cruise Control
Test Development Environment
Need Separate environment
We can use wide range of IDEs like Eclipse, Netbeans, Visual Studio etc
UI object management & Storage
Built-in object repository and easy handling
Managed using UI-Element user extension and properties. A set of dynamically loaded libraries that is stored in the Java archive file.
Support for Dialog Boxes
Supports all kinds of dialog boxes
Supports partially
Support for File upload (system)
Supports all kinds of File upload
Not available
Mobile (Phones & Tablets)
support
Different commercial product i.e.
HP UFT Mobile (formerly known as
Mobile Cloud 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
Object Recognition
/ Storage
Inbuilt Object Repository (storing
Element Id, multiple attributes) along with weight age 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
Integration with Jenkins can give good reporting & dashboard capabilities
Coding Experience of
Engineer
Not Much
Should be very good along with technical capabilities of integrating different pieces of framework.
Hardware resource (CPU
+ RAM) consumption during
script execution
High
Less
Script Creation Time
Less
High
Product Support
Dedicate HP support along with
support forums
Open Source Community