0

I want to select dynamic date passed like as input '03 Nov 1965'

Id for Calendar Icon:

driver.findElementById("package_name:id/btn_basic_info_date_picker").click();

Id for Year:

driver.findElementById("android:id/date_picker_header_year").click();
3
  • Hey @Raju, did you fine solution for this? Jun 24 '19 at 17:07
  • @sandeepmaaram we just made date field to text field and then it became easy to handle date using a text field.
    – Raju Singh
    Jun 25 '19 at 11:22
  • @sandeepmaaram nope. we do not have in the requirement to make date field as a text box.
    – Raju Singh
    Dec 17 '20 at 12:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.