Hello I am new to katalon, completing the object with the SetText when running the test does not complete the object. The test does not fail, how can I complete this object? Thank you
@lukitas024 Can you manually enter the date without using any GUI? Can you just click in the textbox and type a date? If you cannot, then KS will not either. If you can, then maybe you have to click on the textbox before entering the date text.
try to set readonly false
def y = WebUI.executeJavaScript(“return document.getElementsByClassName(‘form-control’)[0].readOnly=false;”, null)
println ("DEBUG readOnly value y "+y)
Another test to try is to enter the date, 10/10/1985, and 10/10/2010. Do either of them remain? A concern may be due to the year being too long ago (1985) or the format actually being MDY (maybe you found a bug ).
Or, maybe you only setText of the numerals, like ‘24101985’, or ‘24 10 1985’, or even ‘24-10-1985’. Or, maybe insert a tab between the D, M and Y, like ‘24\t10\t1985’
you can always try to set readOnly flag to false etc…
and print is something what i am done not needed for in this issue at all
sorry if i set your mind to rounding circle