recently (yesterday about 20:00 UTC my katalon start doing interesting thing (and today i tested on multiple mac devices with my collegues and we all have same issue))
Till yesterday I was using in my script
String monthWheelPicker = //XCUIElementTypePickerWheel
String month = “listopad”
to set value in month wheel picker (left scrollWheel on screen)
everything was working fine, but yesterday somehow i did few changes in script and now on if i send as listed month = “listopad” it will select in wheelpicker month+1 (“prosinec”)
and it doing for every month so if i set month = “leden” in app is picked “únor”, if i set month = “únor” it pick in app “březen” etc.
Can anyone have any idea what should i do to correct this issue?
I try to remove all my edits, I clone master again, but nothing helping. It consistently picking mont+1.
I even put Mobile.comment() before Mobile.sendKeys() to validate app is reading it correct and it printing comment as “listopad” but in app select “prosinec”
wheelPicker structure and detail is:
I tested multiple versions of our app. Tested on multiple device simulation with multiple iOS version. Across all same.
Can you please share the script?
TestObject calendarButtonForValidBy = pom.beznyucetdetail.platba.InkasoFormular.buttonPlatneDoKalendar()
TestObject buttonMonthAndYearPicker = pom.Kalendar.buttonMonthAndYearPicker()
TestObject yearPickerWheel = pom.Kalendar.scrollWheelPicker(1)
Mobile.sendKeys(yearPickerWheel, "květen 2024")
TestObject monthPickerWheel = pom.Kalendar.scrollWheelPicker(0)
This script doing that it open iOS kalendar where it tap on month and year button and open scrollWheelPicker as screened before. In picker it pick correctly Year 2024 but when it go to pick month (requeted is leden first month in Czech language) it somehow pick “únor” (second month in Czech language)
if i call it like this: (2 times in row) it is set correct.
On first call it scroll to “únor” (second month in czech)
On second call it scroll to “leden” as requested. (first month)
Any idea what is happening there?
Hi there @Bishop,
Welcome back to the forum!
I have moved your topic to the #product-forums:katalon-studio category so that it would get more visibility.
And nice avatar by the way, I am having a great time laughing at it
Thanks for making it visible, and my avatar compliment
I hope i will find solution for my problem too