seleniumVSQTP
-
Upload
bala-sudhakar -
Category
Documents
-
view
220 -
download
0
Transcript of seleniumVSQTP
-
8/3/2019 seleniumVSQTP
1/5
Latest topics
Navigation
PortalIndex
Memberlist
ProfileFAQ
Search
Selenium Vs QTP
Selenium Forum: Functional And Regression Testing
Tool. :: Extras :: Archives/Documents/Tutorials
Page 1 of1 Share Actions
http://seleniumforum.forumotion.net/portalhttp://seleniumforum.forumotion.net/forumhttp://seleniumforum.forumotion.net/memberlisthttp://seleniumforum.forumotion.net/profile?mode=editprofilehttp://seleniumforum.forumotion.net/faqhttp://seleniumforum.forumotion.net/searchhttp://seleniumforum.forumotion.net/t214-selenium-vs-qtphttp://seleniumforum.forumotion.net/http://seleniumforum.forumotion.net/http://seleniumforum.forumotion.net/c2-extrashttp://seleniumforum.forumotion.net/f8-archives-documents-tutorialshttp://www.addthis.com/bookmark.php?v=250&pub=forumotionhttp://showhide%28document.getelementbyid%28%27plus_menu%27%29%29/http://seleniumforum.forumotion.net/t214-selenium-vs-qtp#bottomhttp://seleniumforum.forumotion.net/t214n-selenium-vs-qtphttp://seleniumforum.forumotion.net/t214p-selenium-vs-qtphttp://seleniumforum.forumotion.net/forumhttp://seleniumforum.forumotion.net/memberlisthttp://seleniumforum.forumotion.net/profile?mode=editprofilehttp://seleniumforum.forumotion.net/faqhttp://seleniumforum.forumotion.net/searchhttp://seleniumforum.forumotion.net/t214-selenium-vs-qtphttp://seleniumforum.forumotion.net/http://seleniumforum.forumotion.net/http://seleniumforum.forumotion.net/c2-extrashttp://seleniumforum.forumotion.net/f8-archives-documents-tutorialshttp://www.addthis.com/bookmark.php?v=250&pub=forumotionhttp://showhide%28document.getelementbyid%28%27plus_menu%27%29%29/http://seleniumforum.forumotion.net/portal -
8/3/2019 seleniumVSQTP
2/5
Selenium Vs QTP
by Adviser on Tue May 18, 2010 4:04 pm
1. Actual end user simulation, Is the test conducted using this tool equivalent to an end user
action?
Selenium performs actions in the background on thebrowser. 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 browserminimized.
QTP claims to perform end user simulation, in other words executing QTP scripts is equivalentto a person performing those steps manually on the application.
2. Support for most UI Components
Selenium Certain events, methods and Object properties are not supported by selenium. But
broadly most UI components are supported.
QTP requires extra add-ons (plug-in, not free) to work with .Net components.
3. UI-Object management & storageQTP comes built-in with object repository. Object
repository management is quite easy in QTP. Selenium has no such built in feature but objectscan 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
QTP supports all kinds of IE dialog boxes. There is partial support for dialog boxes in Selenium.Some actions like retrieving the title of he dialog box can't be performed in selenium.
5. Support for web browsersQTP supports IE & Firefox. Selenium supportsIE, 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.
http://seleniumforum.forumotion.net/t214-selenium-vs-qtp#567http://seleniumforum.forumotion.net/t214-selenium-vs-qtp#567 -
8/3/2019 seleniumVSQTP
3/5
6. Object Recognition Parameters, Recognition on the basis of WYSWYG (what you see is
what you get).
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.
7. Object Oriented Language support & Scalability (as in Integration with External tools
utilities and libraries).
Selenium Supports JAVA, dot net and many other industry standard programming languages.QTP supports vb script only.
8. Integration with test management tool.
QTP integrates seamlessly with QC and TD. Test management and mapping the manual testingprocess 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 Bromidethough.
9. Types of application supported
QTP wins this one hands down. This is one of the main reason why selenium can't even beconsidered 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?
10. Support for operating system/platforms
Selenium Supports JAVA and hence can be used in Windows PC or MAC or UNIX. Usingselenium you can test your web application in all the above platforms. QTP supports Windows
only.
11. Ease of creation of ScriptsSelenium IDE Recorder is not as powerful as QTP but is good for a free tool, many actions are
not recorded by the IDE and have to be manually entered.
12. Technical Support
QTP offers technical support by phone and mail, HP also have a web-forum.QTP user community is vast and questions posted on online forums get answered quickly.
Selenium being an open source tool has no official tech support, the user community is small,
less-active and questions on forums seldom get answered. But the community is growing day by
day as the tool gains acceptance.
-
8/3/2019 seleniumVSQTP
4/5
13. CostQTP - Very Costly, in some thousand dollars per seat license.
Many people want to switch to selenium because it's free. But cost isn't really a factor when your
client's a investment bank
14. Test Development EnvironmentWhen you are working on selenium you have the option of using wide range of IDEs like
Eclipse, Netbeans, Visual Studio etc depending on your choice of development language. If youare a developer then you must have developed a taste for rich IDEs and switching to a
environment given by a test tool may be hard for you.
QTP tests can only be developed in QTP.
15. Integration with development processTests developed using selenium can be easily part of the development project. Using tools like
cruise control Continuous Integration is easier with Selenium. But don't get too caught up withthis feature, it's really not that important to be integrated with the development process but it'snice to have.
16. Future in terms of usability and acceptance
The future bodes well for selenium because it's free, supports all programming
languages/platforms and is immensely scalable and expandable due to it being free and open
source. Many pundits have predicted that it will completely conquer the web testing market inthe next 5 years. It being free makes a huge difference especially when times are hard like what
we have now.
QTP on the other hand is the current market leader and I think that it will have it's presence for
long due to it's user friendliness and support for interfaces other than web.
Adviser------------------------
Posts: 318Join date: 2009-07-30
Location: India
http://seleniumforum.forumotion.net/ -
8/3/2019 seleniumVSQTP
5/5
Re: Selenium Vs QTP
by ashish_techie on Thu Sep 29, 2011 6:29 pm
Selenium----------------------------------- QTP1) Open source----------------------------------- 1) Paid tool
2) Works on all OS---------------------------------2) Works on Windows3) Tests only Web applications---------------------3) Tests web and desktop applications
4) Works on almost all browsers--------------------4) Works on Firefox 3.5.x and IE5) Code can be made in any one of ----------------5) Uses vb
languages such as Java, C#, Ruby,
Python, pearl, php etc
6) No object repository----------------------------6) Has got an object repository7) IDE sometimes does not record some------------7) Recording is a little reliable
events
8 ) Core engine is java script and is very------------8 ) Core engine is not java script basedstrong
http://seleniumforum.forumotion.net/t214-selenium-vs-qtp#1870http://seleniumforum.forumotion.net/t214-selenium-vs-qtp#bottomhttp://seleniumforum.forumotion.net/t214-selenium-vs-qtp#tophttp://seleniumforum.forumotion.net/t214-selenium-vs-qtp#1870