Monday, January 13, 2014

File Upload

            WebDriver driver=new FirefoxDriver();
            driver.get("http://www.google.com/");
            driver.findElement(By.id("upField")).sendKeys("c:\\usres\\lab\\desktop\\hemu.jpg");

No comments:

Post a Comment