Selenium for Web Testing
How much this Tool will be Useful for Testing Web Applications ??
Where we get the Detailed about Selenium ??
Give Advantages and Disadvantages about this Tool.
Have you tried the vendor? Also you would get a better response if you posted it in the Selenium forum.
Some things to note, you'll have several people in both here and the selenium group that'll be mentioning selenium, but will be talking about different things which are somewhat related, but also very different.
3 main flavors of Selenium.
* Selenium IDE - This is the Firefox browser plugin. This is popular for beginners as it supports record and playback, where the others do not. But it is possible to record actions using IDE, than export them as scripts to run in RC.
* Selenium Webdriver - This relies on the browser having support built in for it, or some sort of browser plugin/hook for it to talk to.
Beyond selenium itself, there's this concept of Selenium Server and Selnium Grid. These are basically providing you a browser as a service for your selenium tests to run on. So while you may develop on your local machine, you'll want to run your tests distributed across different browsers on a Selenium Grid.
Main advantages of Selenium is...
It's open source, cross browser compatible (when you're talking about RC and WebDriver),
integrates well with unit testing frameworks and easy to incorporate into a Jenkins or Bamboo CI process. Like popular open source software, it's easy to hack it to work with a system.
It's incredibly fast and uses a smaller resource foot print than many off the self all-in-one automation tools.
There's a strong community around it.
like any open source things, you're on your own in terms of support and software liability.
And like many open source APIs, it's specialized for a specific task which is automating browsers. You'll need to plug it into a test framework to drive the test, report the results, and do the error handling. Most common practice is to plug it into a unit testing framework. However you can use a Keyword driven framework (like Robot Framework) or a behavioral driven framework (like Cucumber) to make the tests read easier.
You'll also need a higher degree of technical knowledge, especially when dealing with the RC and Webdriver. There isn't a simple run/pause button, so you'll need to get to know the debugging tools of the language you choose to program in.
You might find that browser compatibility issues with the tests itself. For example, IE has a hard time with complicated CSS selectors, so CSS selectors you use to indentify things in Firefox, may not work for IE. Usually in record and playback tests, you can just re-record the test in a different browser and use it as an alternate flow. But with Selenium, you might find yourself pulling hairs to get your tests to work cross browser.
Thanks for the post FredMan and Dlai. Ya you right but i thought here i can get the info regard this. Thanks dilai its really useful.
Tags for this Thread