sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04752
[Question #168770]: Android Date Picker
New question #168770 on Sikuli:
https://answers.launchpad.net/sikuli/+question/168770
Hi.
I would like to create a Sikuli function that select a given date using Android DatePicker widget.
The widget looks somewhat like
http://a1.phobos.apple.com/us/r1000/027/Purple/30/8e/0c/mzl.tonfmtjw.480x480-75.jpg
although the image is from Apple.
The DatePicker widget I am working with has date in YYYY MM DD format.
The widget displays today's date highlighted in the center and two previous dates above and two following dates below.
To set the year to 1960, I would first click 2010 and then the same location 50 times until 1960 appears.
I will do similar things to get the wanted month and date.
I know how to locate the right position to click and click the position so many times.
But then how do I know that the date I finally selected is the right date?
What is the best way to find out if the highlighted date is the correct date?
Also is there a better way to get to the date I want?
Thanks.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.