# How to automate spinner date picker in mobile katalon studio

**URL:** <https://forum.katalon.com/t/how-to-automate-spinner-date-picker-in-mobile-katalon-studio/52544>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [March 1, 2021, 8:26am UTC](https://forum.katalon.com/t/how-to-automate-spinner-date-picker-in-mobile-katalon-studio/52544 "2021-03-01T08:26:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehtimadi](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ehtimadi/32/16104_2.png) [@ehtimadi](https://forum.katalon.com/u/ehtimadi)\
**Post date:** [March 1, 2021, 8:26am UTC](https://forum.katalon.com/t/how-to-automate-spinner-date-picker-in-mobile-katalon-studio/52544/1 "2021-03-01T08:26:49Z")

</div>

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.

 ![date](https://europe1.discourse-cdn.com/katalon/original/3X/3/0/30e5623ba8794ddc9c0f308b2dbeea28e94d59ad.jpeg)

---

<div class="post-metadata">

**Author:** ![avandre](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/avandre/32/16104_2.png) [@avandre](https://forum.katalon.com/u/avandre)\
**Post date:** [April 15, 2021, 7:17pm UTC](https://forum.katalon.com/t/how-to-automate-spinner-date-picker-in-mobile-katalon-studio/52544/2 "2021-04-15T19:17:24Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![ehtimadi](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ehtimadi/32/16104_2.png) [@ehtimadi](https://forum.katalon.com/u/ehtimadi)\
**Post date:** [May 6, 2021, 2:08pm UTC](https://forum.katalon.com/t/how-to-automate-spinner-date-picker-in-mobile-katalon-studio/52544/3 "2021-05-06T14:08:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ricknesh.surendhiran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ricknesh.surendhiran/32/20464_2.png) [@ricknesh.surendhiran](https://forum.katalon.com/u/ricknesh.surendhiran)\
**Post date:** [February 16, 2023, 3:00am UTC](https://forum.katalon.com/t/how-to-automate-spinner-date-picker-in-mobile-katalon-studio/52544/4 "2023-02-16T03:00:01Z")

</div>

Hi, has anyone found a solution for this? I’s facing the same issue for iOS DatePicker Wheel.
