1

I am trying to automate the file upload functionality for mobile application automation. I have some pdf/image file stored in my mobile device which is need to be uploaded. What will be the possible way to automate this scenario?

1 Answers1

3

Unfortunately, there is no way to repeat Selenium javascript trick with sendKeys with native mobile application:

you need literally do everything via UI - open image selection, select image and etc.

The only thing that Appium can assist with is to upload files to device, so your device can be cleaned and populated only during the test.

dmle
  • 3,498
  • 1
  • 14
  • 22