Page 1 of 1
Date Picker Automation for IOS app
Posted: Fri Jul 12, 2019 12:49 pm
by Subhadip
Hi,
I am trying to automate a date picker.
There are option to scroll for Date month and year.
My requirement says, to set particular date like: Jan 24,1990.
Can you please help me on this?
Thank you,
Subhadip
Re: Date Picker Automation for IOS app
Posted: Fri Jul 12, 2019 12:57 pm
by odklizec
Hi,
Could you please post a Ranorex snapshot (NOT screenshot) of the datepicker? I think the easiest way would be using SetValue action? But I don't have a clue if it works with such control? Maybe you will have to use SetValue on an ancestor/descendant element of DatePicker control?
Re: Date Picker Automation for IOS app
Posted: Sat Jul 13, 2019 5:51 am
by Subhadip
Hi,
I have added the Ranorex Snapshot.
Could not really found any ancestor/descendant element where I can set value.
Thank you,
Subhadip
Re: Date Picker Automation for IOS app
Posted: Wed Jul 17, 2019 9:55 am
by Support Team
Hello Subhadip,
Thank you for your post.
The DatePicker date can be set in
user code:
repo.MyApp.UIDatePicker.Value = new System.DateTime(2019,05,05);
I hope this helps.
Sincerely,
Robert