How to set Date-Picker in Katalon?

How can I handle date pickers using Katalon?
My scenario is
I’m used settext into input-date
I am supposed to set 29/01/1991, actually i just type or set 29011991 and automatically separated by “/” at the application

and the error message is

[FAILED] - Unable to set text ‘1991’ of object ‘Object Repository/CompleteKYC/PopUp_InputKYC/Individual/input_DOB’ (Root cause: org.openqa.selenium.InvalidElementStateException: invalid element state: Element must be user-editable in order to clear it.

(Session info: chrome=66.0.3359.170)

Is there a way to handle this problem in Katalon?


Screen Shot 2018-05-14 at 11.08.22.png

Did you try it with JavaScript?
I would try it like this:

WebUI.executeJavaScript(’$(“input.input-date[type=date]”).val(“29.01.1991”)’, [])

You need to verify jQuery selector that i wrote.
Check in Chrome console if it’s ok and try.


well thanks @5173-crokatalontest,
it’s work :slight_smile:

I just tried and it doesn’t seem to put in my date?

WebUI.executeJavaScript(’$(“input.form-control input-date[type=date]”).val(“03/07/2018”)’, [])

Could you please help?



Hi all,

Katalon Studio 7.0 will be available soon and allows you to handle date picker in Web Recorder. Please stay tuned!

In the meantime, let’s have a look at this Release Note for lists of new features and enhancement in the upcoming version.

1 Like

Hi @crokatalontest, with JavaScript that you recommend, how can I set value into current date ?
I try like this but doesn’t work