Are you a Beginner? Want to start your Quick Career in Software Testing? ITeLearn offers you video tutorials on Software testing Fundamentals for beginners.
www.itelearn.com
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Qtp vs-selenium
1. www.ITeLearn.com
Call: +1-314-827-5272
Email: learn@itelearn.com
Sr. No. Point QTP Selenium Remarks
1 Actual end user
simulation, Is the
test conducted
using this tool
equivalent to an
end user action?
YES NO Selenium performs actions in the
background on the browser. It
modifies the DOM structure of the
HTML page in order to perform
actions on the page. To be more
precise it executes javascript on UI
objects within the webpage to
perform actions like click, type,
select etc. This is the reason why
you can execute tests with the
browser minimized. QTP claims to
perform end user simulation, in
other words executing QTP scripts
is equivalent to a person
performing those steps manually
on the application.
2 Support for most
UI Components
YES YES Certain events, methods and
Object properties are not
supported by selenium. But
broadly most UI components are
supported. QTP requires extra
addins (plugins, not free) to work
with dotNet components.
3 UI-Object
management &
storage
YES NO QTP comes built-in with object
repository. Object repository
management is quite easy in QTP.
Selenium has no such built in
feature but objects can be
managed using UI-Element user
extension. Other custom solutions
like properties files can also be
used in selenium. But for all such
solutions the map file in selenium
has to be hand-coded i.e unlike
QTP the objects won't be
recorded/added automatically .
4 Support for
Dialog Boxes
YES NO QTP supports all kinds of IE dialog
boxes. There is partial support for
dialog boxes in Selenium. Some
actions like retrieving the tittle of he
dialog box can't be performed in
selenium
5 Support for file
upload scenario
YES NO This is the scenario where you
upload a file located in your local
2. www.ITeLearn.com
Call: +1-314-827-5272
Email: learn@itelearn.com
machine onto the application using
'browse file' dialog or something
similar. Selenium does not support
this scenario due to JavaScript
restriction. QTP has no problem
whatsoever simulating this
scenario.
6 Support for web
browsers
YES YES QTP supports IE & Firefox.
Selenium supports IE, Firefox,
Safari and Opera and a few more
browsers. But either tools are far
far away from full cross-browser
support. Don't expect scripts
created using browser to run
flawlessly in another browser.
7 Object
Recognition
Parameters,
Recognition on
the basis of
WYSWYG (what
you see is what
you get)
YES NO Selenium recognizes objects on
the basis of the DOM structure of
the HTML Page. The UI objects in
selenium have vague descriptions
and don't comply with WYSWYG
policy. QTP recognises and names
objects based on properties which
are more visible and obvious and
are hence the objects have user
friendly names.
8 Object Oriented
Language
support &
Scalability (as in
Integration with
External tools
utilities and
libraries).
NO YES Selenium Supports JAVA, dot net
and many other industry standard
programming languages. QTP
supports vb script only.
9 Integration with
test management
tool
With HP
Quality
Center and
TestDirector
No QTP integrates seamlessly with
QC and TD. Test management and
mapping the manual testing
process with automation becomes
a lot easier with this integration. I
have not yet heard of any test
management tool that can
integrate seamlessly with
Selenium. keep an eye out for
Bromide though.
10 Types of
application
Web,Window
s(DotNet,VB,
Web Only QTP wins this one hands down.
This is one of the main reason why
3. www.ITeLearn.com
Call: +1-314-827-5272
Email: learn@itelearn.com
supported Powerbuilder,
TCL/TK),
Terminal
Emulation,
Command
prompt
selenium can't even be considered
in many cases. Imagine real-time
applications like trading terminals,
risk management applications built
in TCL/TK and powerbuilder. QTP
supports most of these interfaces.
Selenium on the other hand can
work only on applications that open
up inside a browser. But aren't
most applications moving to the
browser based platform? :)