Selenium 2.0

Running Selenium Tests with ChromeDriver on Linux

by seetaram on August 17, 2011

Some of the pre-requisites has to be setup to execute the Selenium WebDriver tests with chromedriver on Linux Download the following Softwares before starting to write tests in eclipse. Download Google Chrome – Chrome for Linux Download ChromeDriver – ChromeDriver for Linux Install the Google Chrome on the Linux ennvironment by using the following methods: […]

{ 4 comments }

Selenium 2.0 WebDriver – ChromeDriver

by seetaram on August 11, 2011

Selenium 2.0 provides different webdriver bindings for each browsers.  For example, firefox has FirefoxDriver and internet explorer has InternetExplorerDriver.  Google Chrome has ChromeDriver bindings.  Implementation is little different but there is no major change.  Only we need to understand the way it works. For the FirefoxDriver, we need not start the server for execution of […]

{ 0 comments }

Getting started with webdriver requires some idea on “how to use the APIs” provided by the Selenium 2 Webdriver.  Some of the useful APIs were discussed in detail in “Useful APIs of WebDriver”.  Example of automating a web page with these APIs explains the Test Automation with WebDriver better. I have created a sample web […]

{ 56 comments }

Selenium 2.0 WebDriver – Some useful APIs

by seetaram on July 23, 2011

To start with WebDriver we need to learn about some of the useful APIs that are provided for automating user actions on an application. Let us list some of the actions that we need to automate while automating a test case: Click a link, button Type value in an Edit box Select a value from […]

{ 29 comments }

In the latest release of Selenium 2.0 WebDriver Alert class is implemented.  Get the latest release of Selenium 2.0 from this Download link.  Download selenium-server-2.0rc3.zip and unzip into \Libraries folder.  Add “selenium-server-standalone-2.0rc3” to the classpath (Add the External Jar to buildpath of the project’s properties in Eclipse IDE). Here, I have taken an example HTML […]

{ 3 comments }

JUnit is a unit testing framework which mostly used for unit testing of Java projects.  JUnit4 is the enhanced version of JUnit 3 and comes with annotations such as @Before, @After, @Test, @AfterClass, @BeforeClass, etc.  (Please refer – http://tinyurl.com/6al62p8 for detailed discussion on these annotations).   JUnit4 can be utilized with Selenium 2.0 WebDriver or Selenium […]

{ 13 comments }

I wanted to evaluate Selenium 2.0 hence went through the Selenium 2.0 and WebDriver documentation and tried writing some simple tests with JUnit.4  Its really easy to understand.  Lot of changes, its like entirely a new tool. APIs are pretty straight forward and easy to use.  Let us have a look at the following code. […]

{ 30 comments }

Do you want to get updates on the recent articles written? Please subscribe to RSS feed or Email