I am automating a signup form for web application and there is a of birth field which has -picker on it. I am sending values in it by using sendKeys and the problem is that is not while day and month are successfully. I have tried changing formats (like dd-mm-yyyy,mm-dd-yyyy etc) but still no use. Please check my code given below:

{
driver.findElement(By.id("customField2")).click();
driver.findElement(By.id("customField2")).sendKeys("17072017");
}



Source link https://sqa.stackexchange.com/questions/34791/----date-on-date-picker-year-is-not-populating-in

LEAVE A REPLY

Please enter your comment!
Please enter your name here