how to automate spinner date picker in mobile katalon studio.
Can you help me?
I cannot set date spinner date Picker with android mobile katalon studio.
Capture all 3 views and rename it as
androidview.View - Month
androidview.View - Day
androidview.View - Month
Each of them select the attribute and put check on value.
So I assume each day you click on the date picker, todays date will show up. So you have to parameterize the value on each object set it like month = this month, day = today and year = this year.
Next you just use send keys keyword.
for example:
‘Tap on the Month’
Mobile.sendKeys(findTestObject(‘Page Mobile/Mobile iOS/DatePickerWheel - Month’, [(‘month’) : month]), ‘May’, FailureHandling.STOP_ON_FAILURE)
‘Tap on the day’
Mobile.sendKeys(findTestObject(‘Page Mobile/Mobile iOS/DatePickerWheel - day’, [(‘day’) : day]), ‘16’, FailureHandling.STOP_ON_FAILURE)
‘Tap on the year’
Mobile.sendKeys(findTestObject(‘Page Mobile/Mobile iOS/DatePickerWheel - Year’, [(‘year’) : year]), ‘2022’, FailureHandling.STOP_ON_FAILURE)
Mobile.delay(10, FailureHandling.STOP_ON_FAILURE)
I cannot getText or sendKeys this object
androidview.View - Month
androidview.View - Day
androidview.View - Month
Becauce androidview.View - Day this object is single.
Another app is day 1 , day 2
Hi, has anyone found a solution for this? I’s facing the same issue for iOS DatePicker Wheel.