Skip to main content

What is Selenium?

Selenium is one of the most popular tools for browser based testing. It is an Open Source project that has gained a lot of popularity in the last few years. Even though there are other Open Source (free) tools that can test a web application, like HttpUnit, HtmlUnit etc, this was one of the first tools that provided a real alternative to commercial tools like Quick Test Pro (QTP), WinRunner, Silk and others that had gained significant adoption by the QA Engineers.

Comments

Popular posts from this blog

How to create package inside a project?

What Is a Package? A package is a namespace that organizes a set of related classes and interfaces. Conceptually you can think of packages as being similar to different folders on your computer. You might keep HTML pages in one folder, images in another, and scripts or applications in yet another. Because software written in the Java programming language can be composed of hundreds or thousands of individual classes, it makes sense to keep things organized by placing related classes and interfaces into packages. -> Right click on the Project (Make sure you should right click on project, because you are creating package inside the project). -> Go to New. -> Click on Package. -> In New Java Package window, enter package name in Name text box. -> Now click on Finish . -> Now you can see the package inside the project at Project Explorer area. Now your package is ready.

Advantages of Selenium Webdriver

Webdriver is a tool for automating testing web applications. Webdriver makes direct calls to the browser using each browser’s native support for automation. Selenium Webdriver does not depends upon the server. We can directly run the scripts in the main method. Selenium Webdriver is very simple, easy to use. Advantages: 1) Support for iPhone and Android testing 2) Implementation of listeners - a much awaited feature 3) Better features for Ajax testing. 4) You can easily simulate clicking on front and back button of browser. 5) You can simulate movement of a mouse using selenium. 6) You can find coordinates of any object using Webdriver. 7) You have classes in Webdriver which help you to simulate key press events of keyboard. 8) Keyword driven framework is very easy to build in webdriver. 9) Selenium Webdriver supports various languages for example java, Python, C#, Ruby, Perl, Php, Java script. 10)  WebDriver is open source & it allows you to easily integrate with testing fra...