Date Field Image
Having trouble setting date information beyond the specified date field using the sendKeys
function.
Attempted to use JavaScript but unable to successfully set the value.
Update: HTML
driver.findElementBy("//label[text()='Past Specified']/../div[@class='radioHide']//input[1]").sendKeys("01082016");
and
(JavascriptExecutor)driver.executeScript(arguments[0].setAttribute('value', '"+sText+"');",element))
Any assistance would be greatly appreciated.