WORKING WITH SELENIUMSELENIUMSelenium is the open source tool for functional and regression testing Having 4 Parts Selenium IDE It’s a java script framework. It is installed as add-on on Mozilla It is used to record user steps on application. Selenium RC It is mainly used to run test suites on multiple browser. Selenium GRID +use to execute test cases on Multiple Browsers/Multiple systems in parallel. WebDriver +alternate of selenium RC, provide fast execution of test cases.Commands used in selenium are called SeleneseADVANTAGE OF SELENIUM Open Source Tool, so no license fees. Support large number of programming language for scripting. Support large number of browsers. With Selenium Grid, we can execute in parallel, ultimately fast execution.DISADVANTAGE OF SELENIUM
the Selenium command. This runs the Selenese action or verification you specified in your testscript. WORKING WITH SELENIUM GRIDSelenium Grid is the part of selenium test suite, which is used to distribute selenium test caseson multiple browser and multiple machine with the help of that we can run multiple test cases inparallel.Selenium Grid has 2 controls selenium Hub and Selenium RC, selenium hub takes request fromdifferent tests(as RC do in normal condition) and then allocate remote control that are registeredto the hub.(1 RC to 1 test request)
Web Driver New Enhancement to Selenium 2.0. We need not to start selenium Server Interact with Browser Directly(Not using Java Core etc) Support HTML Dom as well, so we can work on multiple elements together. HtmlUnitDriver:- is much faster because it run test case in memory not in physical. We have Native Drivers for each Browser sp we need to make implements separately for eachdriver.
Advantage : Fast No need to use selenium server.Disadvantage : Need to implement native driver for each browser Give support to only few browsers till now.