Monday, 13 February 2017

Major Difference Between Selenium and QTP

When we talk about automation testing, so we have to more like company have to decide which automation tool will gonna use. Company decide tool based on the cost of project, which tool suites client fulfillment etc.

Selenium and QTP are widely used testing tools used in current market. But because Selenium is free testing tool, it is used mostly.


So, Here are the major difference between Selenium and QTP :-




Properties
Selenium
QTP
Cost
It is an Open source tool.
It is a Paid tool.
OS Compatibility
Selenium works on all Operating Systems (Windows, OS X, Linux, Solaris, and Mac).
It works only on Windows.
Application Type
Tests only Web applications
Tests web and desktop applications
Browser Compatibility
Works on almost all browsers (IE, Firefox, Chrome, Safari, Opera).
Works on IE
Language
Code can be made in any one of languages such as Java, C#, Ruby, Python, pearl, php etc.
Code only made in VB Script.
Element Locator
Objects will identify by using HTML ID, name, Xpath, CSS, DOM and Link text.
Objects will identify by using Object properties, Repository objects.
Object Repository
Selenium does not have such built in object repository , but object can be managed by using UI element user extension like Firebug & firepath.
HP UFT comes with built in object repository. Object repository development and maintenance is quite easy in HP ALM.
Recording
IDE sometimes does not record some events.
Recording is a little reliable.
Storage
Set of Libraries, around 20MB (Need to include other supporting software).
Around 1.5GB
Maintenance and support
Saucelabs.com, Elements34, Commercial Supports.(no official support)
From HP

3 comments: