Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
465 views
by The go-to Tester (473 points)
retagged by
What is difference between Selenium and QTP? Which one is smart?

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
Selenium
  • It is an open source. It does not require any license to be used. Its completly free.
  • It is just a browser automation tool. Its mainly used to automating test cases for web applications.
  • You can write code for Selenium using wide range of IDEs like Visual Studio, Eclipse, Netbeans
  • Selenium is written in JAVA, .NET, Ruby, Perl, PHP, and many other programming languages
  • Selenium does not have build in object repository, but we can implement POM(Page Object Model)
  • Selenium can be integrated with any tool provided that that tool has its API exposed to be consumed.
  • It supposed dialog boxes which can be handled by JavaScript. It will not support print dialog or open file dialog.
  • We can develop or use addition of plug-ins to include features that are not provided by core Selenium
  • Web application automation using selenium saves lots of time and cost.
  • Its open source, so it does not have any official support.
  • Selenium supports mature Object Oriented Language like Java
  • Scripting using selenium is time consuming.
  • With new Selenium release the API changes. So Test Scripts may have to be updated
 
 
QTP
  • It is commercial tool and hence it requires a license is expensive
  • It is used mainly to test client-server applications. It can test web- based as well as desktop applications
  • QTP  tests can only be developed using QTP IDE
  • It only supports VB script
  • It comes with built in object repository. So, object repository development and maintenance is quite easy.
  • It integrates with test management tool like HP Quality Center
  • All types of dialog box is supported by it.
  • It supports different environments like SAP, Oracle, .NET  but user need to purchase add-on license for them
  • Automation testing is expensive due to licensing cost
  • It offers very good technical support
  • It supports only VBScript . Hence Object Oriented Approach to Test Automation becomes challenging
  • It is more user friendly and scripts are developed quickly.
  • Backward compatibility is powerful. Latest version of HP ALM supports code that was developed 5 years back

 

So, the conclusion is that, if you are automating web application, Selenium should be the best choice for you. If you are automating desktop application, you should consider QTP.

Hope that helps!


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...