I need some assistance with Date Pickers. I have just started using Katalon studio as well.
I need to be able to Get the date of today and add + 5 days onto it and select the “Check In” and “Check Out” of the first day of the 5days in the future.
Could anyone help me in the right direction please.
if txt field is not read only true you can add value to txtbox itself as hpulsford said
but if field is read only true then you are able to change it to read only false with javascript
like this way
//set readOnly property to true
def x = WebUI.executeJavaScript(“return document.getElementById(‘txt-username’).readOnly=true;”, null)
println ("DEBUG readOnly value x "+x)