Problem selecting date in Calendar


Greeting, I have this problem. Is it possible to click any date from other window? Because this system navigate to other window to pick a date. When click the calendar icon(img), it will popup the calendar in new window. But the problem is when I click any date from the calendar, Katalon can only detected the calendar icon keyword which is the ‘img’. It can’t detect the specific date. Does anyone have any idea why this happen? Here are the script:


WebUI.setText(findTestObject(‘New Folder/input_txtUserID’), ')‘New Folder/button_Login’))

WebUI.acceptAlert()‘New Folder/a_Administration’))‘SPY-WEB/a_ACCESS CONTROL’))

WebUI.delay(2)‘New Folder/a_User Profile’))

WebUI.delay(2)‘New Folder/a_KakLimah’))

WebUI.scrollToElement(findTestObject(‘New Folder/img’), 5)


WebUI.switchToWindowTitle(‘INReport’)‘New Folder/img’))

WebUI.scrollToElement(findTestObject(‘New Folder/input_cmdSave’), 5)‘New Folder/input_cmdSave’))‘New Folder/button_Back’))‘SPY-WEB/a_secuser2’))‘New Folder/a_Sign out’))‘New Folder/button_Confirm’))