I want to select date from calendar. please help on this.
Date text box not editable.
I need to get data from externally (excel sheet).
Note : This is the way i have followed. but i cannot pass data from excel sheet.
WebElement element = WebUiCommonHelper.findWebElement(findTestObject(‘Object Repository/Page_GS_RequestConfiguration/Page_addBenifitAccount/dp_PickDate’),30)
WebUI.delay(3)
WebUI.executeJavaScript(“arguments[0].value= ‘3/25/2018’”, Arrays.asList(element))
WebUI.delay(2)
Please help on this
Capture.PNG
Mohamed Sajjaath said:
I want to select date from calendar. please help on this.
Date text box not editable.
I need to get data from externally (excel sheet).
Note : This is the way i have followed. but i cannot pass data from excel sheet.
WebElement element = WebUiCommonHelper.findWebElement(findTestObject(‘Object Repository/Page_GS_RequestConfiguration/Page_addBenifitAccount/dp_PickDate’),30)
WebUI.delay(3)
WebUI.executeJavaScript(“arguments[0].value= ‘3/25/2018’”, Arrays.asList(element))
WebUI.delay(2)
Please help on this
if any body have idea plz help on this…!!