Currently i use Appium and Selenium-Webdriver to run Automation Web Application on real iOS/Android device. I would like to know if there is a way where we can Upload file using SendKeys of Selenium-Webdriver ?
My test-running-machine is Win 7 64 bit
I have tried both using the path of file from the test-running-machine (e.g C:\file.jpg) and using path of file that on the device(Android/iOS) ( e.g /sdcard/Download/myfile.png).
Using file path from the test-running-machine it would upload a null file to the web-driver no excetpion
Using file path from the device itself web-driver will throw exception: "org.openqa.selenium.WebDriverException: unknown error: path is not absolute: /sdcard/Download/myfile.png"
Any help would be very much appreciated.