| || |
Crossbrowser Testing Tool
As part of my testing, it is required to test our product on multiple browsers. Can any one suggest an automation tool for crossbrowser testing.
Ie. Is a single code enough to execute the same script in all browsers. If so let me know a tool that fits my requirements.
My favorite right now is SauceLabs. It hosts a selenium grid for automated tests, as well as providing browsers for manual testing.
Originally Posted by reddy_gate
In the past I've used browserstack for manual testing. It's not bad in that aspect. Saucelabs is better for automated stuff.
I use WinTask to test on IE, Firefox, and Chrome.
I use AutoIT and UIAutomation see www.autoitscript.com and search within the AutoIT forums for IE.aU3, FF.AU3, Chrome etc.
Many people use Selenium but disadvantage of that is that it has focus mainly on the browser HTML and cannot operate on generic windows menu's
You need to mention the list of browsers to be tested and your criteria to choose the tool..
In OpenSource list, I would like to pick Selenium with Robot framework. It would solve your single code to test multiple browsers.
In commercial tools, You can try QTP & Test Partner.
Selenium is pretty useful for cross browser testing, RFT is another tool which I have used for different browsers.
Selenium is one of the best tools for cross browser testing.
Problem with QTP, RFT, Silk, or any Native desktop application testing tool is it gets very expensive because you have to license each desktop, and it cannot run against a grid. So it's expensive to run in the cloud, and it's hard to run against a pool of machines provided by a 3rd party provider.
Say you want to run across the typical browser set that supports 98% of all internet users. So that means supporting up to the 2 latest versions of each of the major browsers on each OS, and the latest version of Opera. Then you're looking at
* XP - IE7, IE8, Firefox 3.5, Firefox 3.4, Chrome 15, Chrome 14, Safari 5.4, Safari 5.3, Opera 11
*Win7 - IE9, IE10, Firefox 22, Firefox 21, Chrome 28, Chrome 27, Safari 5.5, Safari 5.4, Opera 12
*Win8 - IE10, Firefox 22, Chrome 28, Opera 12
*Mac OSX Lion - Safari 6, Safari 5, Chrome 28, Chrome 27, Firefox 22, Firefox 21, Opera 12
*Mac OSX Mountain Lion - Safari 6, Chrome 28, Chrome 27, Firefox 22, Firefox 21, Opera 12
* Unix/Linux - Firefox 22, Firefox 21, Opera 12, Chrome 28
Just licensing costs along will make any tool that doesn't offer a lightweight runtime license. If the licensing cost doesn't get you, then time wasted for someone to maintain a redundant grid of all those machines is costly. I think it's cheaper to go with Selenium/Sauce Labs and pay them a couple thousand dollars a month than have to maintain all those VMs and hire some dev/ops intern to maintaining the machines full time.
For that matter, I don't like Robot framework, I highly advise against it if you go with Selenium. Robot framework flattens the programming language and doesn't make it easier to implement the level abstraction to write scaleable tests. How do you handle multi-threading and concurrency in Robot framework? It makes it hard to write scaleable tests that run in the cloud.
Of course the downside with Selenium is it doesn't have a multi billion dollar company supporting it. And if you used it as long as I have, you might find yourself submitting a lot of code to Selenium or some of the open source add-ons and frameworks. In short, prepare to do some coding, and a lot of it, and not just automation code.