web analytics
Google + RSS Feed

‘Selenium Webdriver Code’ Category

  1. How works Chrome Driver in Selenium Webdriver

    0

    January 21, 2014 by admin

    System.setProperty(“webdriver.chrome.driver”, “C:\\chromedriver.exe”); WebDriver myTestDriver = new ChromeDriver(); myTestDriver.get(“http://www.codeproject.com”); Chrome Driver exe file chromedriver_win32 Pleasefollow given below link for download chromedriver.exe …
    keep reading


  2. How To Handle Drop Down in Selenium WebDriver

    0

    January 21, 2014 by admin

    Handling Drop Down in WebDriver seems so tedious but WebDriver API has gifted us with one classSelect and  this is one good …
    keep reading


  3. Multiple Window handle using selenium webdriver

    0

    January 21, 2014 by admin

    Example 1:- public class Handle_popupNAlert { public static void main(String[] args ) throws InterruptedException { WebDriver driver= new FirefoxDriver(); driver.get(“http://www.rediff.com/”); …
    keep reading


  4. Different dialogs handling using selenium webDriver

    0

    January 19, 2014 by admin

    import org.openqa.selenium.Alert; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class JavaScriptAlertTest { public static void main(String[] args) { WebDriver myTestDriver …
    keep reading


  5. Accept Alert statement in Selenium WebDriver

    0

    January 19, 2014 by admin

    driver.switchTo().alert().accept();z


  6. code for picture upload in google plus using selenium webdriver

    0

    January 18, 2014 by admin

    public static void setClipboardData(String string) { StringSelection stringSelection = new StringSelection(string); Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stringSelection, null); } public static void main(String[] args) throws …
    keep reading


Recent Posts