To automate a file upload scenario of a mobile application (iOS), I tried adding an image to the device which can be browsed using gallery during execution. I tried using Appium's pushFile method but I am not clear on what has to be passed to the first parameter of pushFile method.
I tried appium's pushFile method to add the image to device. The method takes two arguments. The first argument is the target path in iOS device. My expectation is to push the image to Files app on iOS, so I tried the format "@com.apple.mobileslideshow/profile.jpg". But it throws the following error.
An unknown server-side error occurred while processing the command. Original error: Failed to vend into the application documents. Error: InstallationLookupFailed
I referred bundle ids from here https://support.apple.com/en-in/guide/deployment/depece748c41/web