Saturday, 10 October 2015

SELENIUM WEB DRIVER PROGRAMME FOR WAY2SMS.COM


    


public class way {


public static void main(String[] args) {
                        WebDriver wd=new FirefoxDriver();

            wd.get("http://site3.way2sms.com/content/index.html");
                       
                        wd.findElement(By.xpath(".//*[@id='username']")).sendKeys("9440592994");
                       
                        wd.findElement(By.xpath(".//*[@id='password']")).sendKeys("ASDF");
                        wd.findElement(By.xpath(".//*[@id='button']")).click();
                        }

}

1 comment:

  1. Thanks for this wonderful post. The information in this article is very helpful to me. Thanks a lot for sharing. Keep blogging.
    Interest Waypoint
    For dirty truth or dare questions for couples
    Best Truth or Dare Questions for Couples who are getting Married Soon

    ReplyDelete