Sunday, July 12, 2015

Selenium RC to WebDriver migration

- Selenium WebDriver is faster than RC

- Selenium RC has no better support, new elements does not have support.

- Steps to be followed to migrate existing Selenium RC project:

Create Selenium instance from webDriver

WebDriver driver = new FirefoxDriver();

Selenium selenium = new WebDriverBackedSelenium(driver, http://www.goggle.com);

Now use WebDriverBackedSelenium instance in test scripts and see that all test cases are passing.

-

No comments:

Post a Comment