0

How to handle NumberPicker or DatePicker using Appium? I am not able to select value. If you use Xpath its also not working :(

How to select date/value from datePicker or NumberPicker?

9
  • Can you execute jQuery? Have you tried to use jQuery methods?
    – lauda
    Aug 2 '16 at 13:24
  • yes, but failed. Is it workin at your end? Aug 3 '16 at 4:34
  • it it working, but i used only in web browser. can you provide the jQuery code that you tried?
    – lauda
    Aug 3 '16 at 4:37
  • oh - but I am targeting android device. Any solution for that? Aug 3 '16 at 5:19
  • what technology is used for that picker? if is jQuery then using jQuery datepicker api sould work, if not check what technology is used an see if you can write some script that works. If you can provide more details or what have you tried it would be great. For jQ should be something like: jQuery('selector for datepicker').datepicker( 'setDate', '-10' );
    – lauda
    Aug 3 '16 at 6:28

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.