How to handle Date Pickers in Katalon?

May be i have solution this https://demos.telerik.com/kendo-ui/datetimepicker/index
and try this https://github.com/Riyansya/katalonDatepicker , I hope it can be a solution…

def today = new Date()

day = (today + 20)

def formattedDate = day.format(‘d-MMMM-yyy’)

println(formattedDate)

futureDate = formattedDate.toString()

String futureDay = (futureDate.split(’-’)[0])
println(futureDay)
String futureMonth = (futureDate.split(’-’)[1])

String currentMonth = WebUI.getText(findTestObject(‘Object Repository/theMonthInCalendar’))

while (!(currentMonth).equalsIgnoreCase(futureMonth)) {
WebUI.click(findTestObject(‘Object Repository/RezDesk/Page_New Trip Request/span_Next’))
currentMonth = WebUI.getText(findTestObject(‘Object Repository/RezDesk/Page_New Trip Request/month’))

}

WebDriver driver = DriverFactory.getWebDriver()

List el = driver.findElements(By.xpath("//a[@class=‘ui-state-default’]"))
for(WebElement e :el) {
if(e.getText().equals(futureDay)) {
e.click()
break;
}

}
This worked for me.

This worked like a charm. Thanks for posting this.