# Problem selecting date in Calendar

**URL:** <https://forum.katalon.com/t/problem-selecting-date-in-calendar/13063>\
**Category:** Miscellaneous\
**Created:** [September 6, 2018, 7:28am UTC](https://forum.katalon.com/t/problem-selecting-date-in-calendar/13063 "2018-09-06T07:28:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Shahiran](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mohammad\_Shahiran](https://forum.katalon.com/u/Mohammad_Shahiran)\
**Post date:** [September 6, 2018, 7:28am UTC](https://forum.katalon.com/t/problem-selecting-date-in-calendar/13063/1 "2018-09-06T07:28:43Z")

</div>

![](https://s3.amazonaws.com/katalon-forum/editor/yt/o5dhuemaxukg.png "Image: https://s3.amazonaws.com/katalon-forum/editor/yt/o5dhuemaxukg.png")

[bbb.png](https://s3.amazonaws.com/katalon-forum/editor/yt/o5dhuemaxukg.png)

---

<div class="post-metadata">

**Author:** ![Mohammad\_Shahiran](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mohammad\_Shahiran](https://forum.katalon.com/u/Mohammad_Shahiran)\
**Post date:** [September 6, 2018, 7:38am UTC](https://forum.katalon.com/t/problem-selecting-date-in-calendar/13063/2 "2018-09-06T07:38:02Z")

</div>

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.openBrowser(’’)

WebUI.setText(findTestObject(‘New Folder/input\_txtUserID’), ')

WebUI.click(findTestObject(‘New Folder/button\_Login’))

WebUI.acceptAlert()

WebUI.click(findTestObject(‘New Folder/a\_Administration’))

WebUI.click(findTestObject(‘SPY-WEB/a\_ACCESS CONTROL’))

WebUI.delay(2)

WebUI.click(findTestObject(‘New Folder/a\_User Profile’))

WebUI.delay(2)

WebUI.click(findTestObject(‘New Folder/a\_KakLimah’))

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

WebUI.delay(2)

**WebUI.switchToWindowTitle(‘INReport’)**

**WebUI.click(findTestObject(‘New Folder/img’))**

WebUI.scrollToElement(findTestObject(‘New Folder/input\_cmdSave’), 5)

WebUI.click(findTestObject(‘New Folder/input\_cmdSave’))

WebUI.click(findTestObject(‘New Folder/button\_Back’))

WebUI.click(findTestObject(‘SPY-WEB/a\_secuser2’))

WebUI.click(findTestObject(‘New Folder/a\_Sign out’))

WebUI.click(findTestObject(‘New Folder/button\_Confirm’))

WebUI.closeBrowser()
