Wednesday, 16 December 2015

QTP/UFT Selenium Testing tool training Toronto,Brampton, Mississauga,Scarborough job placement Canada.

QTP/UFT Selenium  Testing tool training Toronto,Brampton, Mississauga,Scarborough, Canada.

Why do we use Selenium instead of QTP for automated web testing?

To know more in detailed fashion Call :416-743-6333 to register for selenium software testing tool training and job placement assistance in Canada,USA(You need to be Canadian citizen and qualified to get TN Visa.)  email us info@stepin2it.com

If the application under test (AUT) is a web application and you need to test on multiple browsers Selenium beats QTP hands down. Here are some reasons in no particular order:

1. Support for browsers - Selenium supports majority of the available browsers in market. The biggest advantage is Selenium project has the support from mozilla, google and more recently microsoft. These companies ensure that they provide the necessary APIs for selenium to act on the browsers. QTP doesnt have this luxury. You would need to wait till QTP comes out with their support for latest versions of browsers.

2. Scalablilty - Selenium has a component called selenium grid which allows you to run as many tests as you need in parallel. All it needs is browser for running the test. QTP, as far as I know doesn't have anything which can be compared to selenium grid.

3. Cost of maintenance - Selenium is opensource and free. QTP costs around 25K per year per license. If you can achieve all your test requirements using a free software which is also better than the licensed one, why should I go for licensed tool?

4. Programming language support - Sure, QTP comes with all kind of bells and whistle. Selenium on the other provides you all the  power and flexibility of a programming language that you are comfortable in. If you want to get your test data through rest API, modify it and then provide to your tests a programming language is going to help you better compared to QTP. 

5. One script any browser - This is one of the biggest advantage of selenium. You write your test script for one browser, that will work against all desktop and mobile browsers with little to no modification.

Selenium is an excellent choice if...
you have developers responsible for writing and maintaining the tests
you need to have these tests as part of a larger infrastructure
you are pretty sure you do not need to do much testing outside of the browser
you think you might want to test other browsers and other platforms besides Windows

you want something free.

QTP might be a good choice if...
  • you have less code-savy people writing and maintaining tests (though I am not sure if Selenium IDE is hard to learn for non-coders)
  • if you need significant testing outside of the browser.
Simple. You see any webpage (or you have your web application) and would like to test (or run some flows multiple times and feeling lazy to do it manually), use selenium.

But, isn't it hard to learn to code? Well, if you have to manually perform a flow in a webpage for 100 times that takes 2 minutes each, you'll end up wasting ~4 hrs. But, just google for basic selenium lessons, learn it for an hour, code your stuffs in another hour, and run it.. vola...!! you've saved 2 hrs for now (and many more for future). Well, above is what I did (without time precision). 

No comments:

Post a Comment