In this video I show how to setup and test Selenium 2 WebDriver with Eclipse for Java.
Junit - • JUnit Testing in Eclipse
Download Selenium - http://docs.seleniumhq.org/download/
The following code is used in the example-
package test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
public class test {
public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
driver.get(-http:--www.google.com--);
WebElement element = driver.findElement(By.name(-q-));
element.sendKeys(-mysql excel 2013-);
element.submit();
}
}
In questa pagina del sito puoi guardare il video online Configure Selenium WebDriver with Eclipse della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Michael Herman 09 settembre 2012, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 61,064 volte e gli è piaciuto 157 spettatori. Buona visione!