Tuesday, 23 June 2015

Selenium First Program

Video will show how to write your first test using Selenium WebDriver







package DemoPackage;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class TestSelenium {

public static void main(String args[]){

WebDriver driver = new FirefoxDriver();
driver.get("http://rediffmail.com");

driver.manage().window().maximize();
}



}

No comments:

Post a Comment